fix(办公管理): 页面标签存在路由缓存导致不刷新问题

This commit is contained in:
konbai
2022-07-12 20:36:51 +08:00
parent de4e419787
commit b43ea0c3b6
5 changed files with 11 additions and 9 deletions

View File

@@ -512,8 +512,8 @@ export default {
/** 返回页面 */
goBack() {
// 关闭当前标签页并返回上个页面
this.$store.dispatch("tagsView/delView", this.$route);
this.$router.go(-1)
this.$tab.closePage(this.$route)
this.$router.back()
},
/** 接收子组件传的值 */
getData(data) {