2022-11-01 vue路由跳转方式
this.$router.push往地址池添加一条记录
this.$router.push({ path: "/home", query: { value: 666 }, });
接收传参
console.log(this.$route.query.value);
另外还有router-link、this.$router.replace()以及this.$router.go(n),需要看的请前往https://www.php.cn/vuejs/483468.html