watch: {
'$route' (to, from) {
console.log(this.$route.params)
// created to do sth.
}
},
Vue 之 多个路由绑定同一组件造成created不执行的解决办法、created没有执行的问题
阅读 82
2022-06-30
watch: {
'$route' (to, from) {
console.log(this.$route.params)
// created to do sth.
}
},
相关推荐
精彩评论(0)