vue中两种路由跳转拼接参数时间:2022-05-13 18:06:15 this.$router.push({name:"Home",query:{id:1,name:2}}) // 取到路由带过来的参数 let routerParams = this.$route.query.id;