1.整个页面重新刷新
//第一种
location.reload()
//第二种
this,$router.go(0)
2.新建一个空白页,然后再跳回来
this.$router.replace({
path: ""
})
3.provide/inject组合使用
1.整个页面重新刷新
//第一种
location.reload()
//第二种
this,$router.go(0)
2.新建一个空白页,然后再跳回来
this.$router.replace({
path: ""
})
3.provide/inject组合使用