|
|
@@ -160,7 +160,7 @@ export default {
|
|
160
|
160
|
},
|
|
161
|
161
|
closeAllTags(view) {
|
|
162
|
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
|
164
|
return
|
|
165
|
165
|
}
|
|
166
|
166
|
this.toLastView(visitedViews, view)
|