摘要: vue-router的参数传递方式分为两种: query params 举例说明: 1.query 传参 this.$router.push({ path: "/arg", query: { id: 1, name: "nicoz", }, }); 获取 console.log(this.$rout 阅读全文
posted @ 2022-07-10 17:23 南无、 阅读(4681) 评论(0) 推荐(0)