This commit is contained in:
DevilMCry1
2020-12-04 21:08:03 +08:00
committed by GitHub

View File

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