vue路由传递参数

1.经过path来肯定匹配的路由,经过query来传递参数javascript 传参:java goList(title, id) { this.$router.push({path: '/list', query: {title: title, id: id}}); //注意这里是 $router }   接参:this this.params.brandId = this.$route.que
相关文章
相关标签/搜索