方法里面写上这个,
this.$router.push(
{path: '/路径',query:{
id:'xiaomign'
}})
点击事件实现跳转并携带参数,在跳转后使用下面代码接受参数
this.$route.query.id
方法里面写上这个,
this.$router.push(
{path: '/路径',query:{
id:'xiaomign'
}})
点击事件实现跳转并携带参数,在跳转后使用下面代码接受参数
this.$route.query.id