diff --git a/src/router/index.ts b/src/router/index.ts index 5062e49..14a6efa 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -13,7 +13,7 @@ import Dict from '@/views/system/dict/index.vue'; //用户字典 import GlobalSys from '@/views/system/globalSys/index.vue'; //全局参数 import { getToken } from "@/utils/auth"; -const whiteList = ["/callback"]; +const whiteList = ["/callback",'/layout/dict','/layout/globalSys']; const routes: Array = [ { diff --git a/src/views/system/dict/index.vue b/src/views/system/dict/index.vue index 17f276a..a629b9c 100644 --- a/src/views/system/dict/index.vue +++ b/src/views/system/dict/index.vue @@ -1,19 +1,24 @@ - \ No newline at end of file + \ No newline at end of file