Commit 9926f73cd031a9cebff033ad8bb00998cbcf26d7
1 parent
492919d4
tagsView右选框,首页不应该存在关闭左侧选项
Showing
1 changed file
with
1 additions
and
1 deletions
ruoyi-ui/src/layout/components/TagsView/index.vue
... | ... | @@ -87,7 +87,7 @@ export default { |
87 | 87 | }, |
88 | 88 | isFirstView() { |
89 | 89 | try { |
90 | - return this.selectedTag.fullPath === this.visitedViews[1].fullPath || this.selectedTag.fullPath === '/index' | |
90 | + return this.selectedTag.fullPath === '/index' || this.selectedTag.fullPath === this.visitedViews[1].fullPath | |
91 | 91 | } catch (err) { |
92 | 92 | return false |
93 | 93 | } |
... | ... |