query匹配 path params匹配name $route.query 1、传参数: this.$router.push({ path: '/aaa', query:{ id:id, } }) 2、获取参数: this.$route.query.id 3、在url中形式