diff --git a/src/router/guard/permissionGuard.ts b/src/router/guard/permissionGuard.ts index 60de7094..e55b8440 100644 --- a/src/router/guard/permissionGuard.ts +++ b/src/router/guard/permissionGuard.ts @@ -9,9 +9,7 @@ import { PAGE_NOT_FOUND_ROUTE } from '/@/router/routes/basic' import { RootRoute } from '/@/router/routes' import { useRootSetting } from '/@/hooks/setting/useRootSetting' -import { baseHandler } from '/@/layouts/default/setting/handler' const { getDarkMode, setDarkMode } = useRootSetting() -console.log(getDarkMode) // 设置默认主题 if (getDarkMode.value === 'light') { setDarkMode('black')