vue 路由器传参数

this.$router.push({name:"XXXX",param:{id:'XXX',name:"XXXX"}})

接收参数:

this.$route.params.id

this.$route.params.name

原文地址:https://www.cnblogs.com/yixiaoyang-/p/11585041.html