this.$router.push({name:‘master‘,params:{id:‘参数‘}}); //name和params搭配 this.$router.push({path:‘/master‘,query:{id:‘参数‘}}); //path和query搭配
标签:outer class 路由 param log name router style params
this.$router.push({name:‘master‘,params:{id:‘参数‘}}); //name和params搭配 this.$router.push({path:‘/master‘,query:{id:‘参数‘}}); //path和query搭配
标签:outer class 路由 param log name router style params
原文地址:https://www.cnblogs.com/1rookie/p/8488479.html