作者 RuoYi

修复页签关闭所有固定标签路由不刷新问题

@@ -160,7 +160,7 @@ export default { @@ -160,7 +160,7 @@ export default {
160 }, 160 },
161 closeAllTags(view) { 161 closeAllTags(view) {
162 this.$store.dispatch('tagsView/delAllViews').then(({ visitedViews }) => { 162 this.$store.dispatch('tagsView/delAllViews').then(({ visitedViews }) => {
163 - if (this.affixTags.some(tag => tag.path === view.path)) { 163 + if (this.affixTags.some(tag => tag.path === this.$route.path)) {
164 return 164 return
165 } 165 }
166 this.toLastView(visitedViews, view) 166 this.toLastView(visitedViews, view)