1.query方式传参和接受参数 传参 this.$router.push({ path:'/xxx' query:{ idname:id } })接收的方式:this.$route.query.id 2.params方式传递参数 传参: 2 this.$router.push({ 3 name:'路径名称' 4 query:{ 5 idname:id 6 } 7 })接收的方式:this.$route.params.id 3.query和params的区别,query相当于get请求,在页面跳