From ae3079b4189551717169a67376a3cf3cd39e9015 Mon Sep 17 00:00:00 2001 From: xingyuv Date: Sun, 19 Mar 2023 15:57:54 +0800 Subject: [PATCH] feat: router --- src/enums/pageEnum.ts | 2 +- src/main.ts | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) 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();