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

master
RuoYi 4 years ago
parent c19fec2cf8
commit ae4290bdda
  1. 2
      ruoyi-ui/src/layout/components/TagsView/index.vue

@ -160,7 +160,7 @@ export default {
}, },
closeAllTags(view) { closeAllTags(view) {
this.$store.dispatch('tagsView/delAllViews').then(({ visitedViews }) => { 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 return
} }
this.toLastView(visitedViews, view) this.toLastView(visitedViews, view)

Loading…
Cancel
Save