Commit ae4290bdda94767281c1aab0e4a6b5a24e9c89a4
1 parent
c19fec2c
修复页签关闭所有固定标签路由不刷新问题
Showing
1 changed file
with
1 additions
and
1 deletions
ruoyi-ui/src/layout/components/TagsView/index.vue
... | ... | @@ -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) |
... | ... |