watch: {
$route: {
handler: function(route) {
console.log(route)
},
immediate: true
}
},
06-28
479
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
01-17
9042
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
04-05
6643
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
12-21
573
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
10-20