话不多说,在你当前得路由页面下加上这段代码:
watch:{
$route(to,from){
this.$router.go(0)
}
},
造成这个的原因主要是路由的重叠,用 this.$router.go(0)返回上层页面即可
话不多说,在你当前得路由页面下加上这段代码:
watch:{
$route(to,from){
this.$router.go(0)
}
},
造成这个的原因主要是路由的重叠,用 this.$router.go(0)返回上层页面即可