问题描述 Vue-router两种方法传递参数 第一种 传递参数 this.$router.push({path: ' 路由 ', query: {key: value}}) 参数取值 this.$route.query.key 第二种 传递参数 this.$router.push({name: ' 路由的name ', params: {key: value}}) 参数取值 this.$route.params.key