Browse Source

home页面不重定向

zhengnaiwen_citu 1 year ago
parent
commit
a4f8ef39cf
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/permission.js

+ 1 - 0
src/permission.js

@@ -6,6 +6,7 @@ import { getToken } from '@/utils/auth'
 const { start, done } = useNProgress()
 // 路由不重定向白名单
 const whiteList = [
+  '/',
   '/login',
   '/social-login',
   '/auth-redirect',