watch:{
//路由跳哪里写哪里
$router(val){
console.log(val)
}
}
监听路由的变化
最新推荐文章于 2023-12-22 10:37:04 发布
watch:{
//路由跳哪里写哪里
$router(val){
console.log(val)
}
}