diff --git a/src/enums/pageEnum.ts b/src/enums/pageEnum.ts index f1ee8511..d329ec4a 100644 --- a/src/enums/pageEnum.ts +++ b/src/enums/pageEnum.ts @@ -2,7 +2,7 @@ export enum PageEnum { // basic login path BASE_LOGIN = '/login', // basic home path - BASE_HOME = '/dashboard/analysis', + BASE_HOME = '/dashboard', // error page path ERROR_PAGE = '/exception', // error log page path diff --git a/src/main.ts b/src/main.ts index 9c167bdd..6d438b4a 100644 --- a/src/main.ts +++ b/src/main.ts @@ -57,8 +57,6 @@ async function bootstrap() { // Configure global error handling // 配置全局错误处理 setupErrorHandle(app) - // https://next.router.vuejs.org/api/#isready - await router.isReady() // https://next.router.vuejs.org/api/#isready // await router.isReady();