Commit 757423ee authored by jingnan's avatar jingnan 👀

tag页签出现多个首页的图标优化

parent f6edaa5e
...@@ -222,7 +222,7 @@ export default { ...@@ -222,7 +222,7 @@ export default {
Object.keys(this.$store.state.tagsView.visitedViews).forEach(key => { Object.keys(this.$store.state.tagsView.visitedViews).forEach(key => {
list = [...list, ...this.$store.state.tagsView.visitedViews[key]] list = [...list, ...this.$store.state.tagsView.visitedViews[key]]
}) })
this.$set(this, 'visitedViews', list.filter(x => (x.path !== '/home'))) this.$set(this, 'visitedViews', list.filter(x => (x.path !== '/home' && x.path !== '/businessHome' && x.path !== '/systemHome' && x.path !== '/DevopsHome' && x.path !== '/safeHome')))
} }
}, 0) }, 0)
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment