摘要: methods:{ goSearch(){ // 1.路由传参字符串形式 // this.$router.push("/Search/"+this.keyword+"?k="+this.keyword.toUpperCase()) // 2 模板字符串 // this.$router.push(`/ 阅读全文
posted @ 2022-11-26 16:20 小白字太白 阅读(25) 评论(0) 推荐(0) 编辑
摘要: 只需要删除即可; 具体位置在public-reset.css 阅读全文
posted @ 2022-11-26 11:51 小白字太白 阅读(522) 评论(0) 推荐(0) 编辑
摘要: { path:"/Home", component:Home }, 代码中 component的配置不能 写成字符串形式,如果写了就会报如上错误,去掉引号即可 阅读全文
posted @ 2022-11-26 11:13 小白字太白 阅读(575) 评论(0) 推荐(0) 编辑