只需要在watch中添加
watch:{
‘$route’(to,from){
this.inbound();
}
},
如何解决进入路由时候数据不刷新的问题
最新推荐文章于 2023-10-09 09:21:39 发布
只需要在watch中添加
watch:{
‘$route’(to,from){
this.inbound();
}
},