摘要: 阅读全文
posted @ 2023-02-28 20:45 asdbt 阅读(46) 评论(0) 推荐(0) 编辑
摘要: 路由传参的三种写法 首先要采用编程式导航 第一种:字符串形式 this.$router.push("/search/" + this.keyword + "?k=" + this.keyword.toUpperCase()); 路由配置中的 path 需要占位 第二种:模板字符串新形式 this.$ 阅读全文
posted @ 2022-09-17 17:24 asdbt 阅读(339) 评论(0) 推荐(0) 编辑