watch: {
'$route' (to, from) {
console.log(this.$route.params)
// created to do sth.
}
},
微信扫一扫
watch: {
'$route' (to, from) {
console.log(this.$route.params)
// created to do sth.
}
},
相关推荐