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
相關文章
相關標籤/搜索