Commit ae4290bdda94767281c1aab0e4a6b5a24e9c89a4

Authored by RuoYi
1 parent c19fec2c

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

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)
... ...