Browse Source

首页页签右键选择时不显示关闭左侧

RuoYi 3 years ago
parent
commit
6c3e88ee6d
2 changed files with 2 additions and 2 deletions
  1. 1 1
      ruoyi-ui/src/layout/components/TagsView/index.vue
  2. 1 1
      ruoyi-ui/src/permission.js

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

@@ -87,7 +87,7 @@ export default {
87
     },
87
     },
88
     isFirstView() {
88
     isFirstView() {
89
       try {
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
       } catch (err) {
91
       } catch (err) {
92
         return false
92
         return false
93
       }
93
       }

+ 1 - 1
ruoyi-ui/src/permission.js

@@ -8,7 +8,7 @@ import { isRelogin } from '@/utils/request'
8
 
8
 
9
 NProgress.configure({ showSpinner: false })
9
 NProgress.configure({ showSpinner: false })
10
 
10
 
11
-const whiteList = ['/login', '/auth-redirect', '/bind', '/register']
11
+const whiteList = ['/login', '/register']
12
 
12
 
13
 router.beforeEach((to, from, next) => {
13
 router.beforeEach((to, from, next) => {
14
   NProgress.start()
14
   NProgress.start()