Преглед изворни кода

tagsView右选框,首页不应该存在关闭左侧选项

Giovanni пре 2 година
родитељ
комит
9926f73cd0
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      ruoyi-ui/src/layout/components/TagsView/index.vue

+ 1 - 1
ruoyi-ui/src/layout/components/TagsView/index.vue

@@ -87,7 +87,7 @@ export default {
     },
     isFirstView() {
       try {
-        return this.selectedTag.fullPath === this.visitedViews[1].fullPath || this.selectedTag.fullPath === '/index'
+        return this.selectedTag.fullPath === '/index' || this.selectedTag.fullPath === this.visitedViews[1].fullPath
       } catch (err) {
         return false
       }