正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -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) |
-
请 注册 或 登录 后发表评论