diff --git a/.env.development b/.env.development index b122d84f..d9baabde 100644 --- a/.env.development +++ b/.env.development @@ -11,7 +11,7 @@ VITE_APP_NAME = "Core Network OMC" VITE_APP_CODE = "OMC" # 应用版本 -VITE_APP_VERSION = "2.240729" +VITE_APP_VERSION = "2.240801" # 接口基础URL地址-不带/后缀 VITE_API_BASE_URL = "/omc-api" diff --git a/.env.production b/.env.production index 5498a878..0cbd0c49 100644 --- a/.env.production +++ b/.env.production @@ -11,7 +11,7 @@ VITE_APP_NAME = "Core Network OMC" VITE_APP_CODE = "OMC" # 应用版本 -VITE_APP_VERSION = "2.240729" +VITE_APP_VERSION = "2.240801" # 接口基础URL地址-不带/后缀 VITE_API_BASE_URL = "/omc-api" diff --git a/src/router/index.ts b/src/router/index.ts index 3dd384e4..e01ce1e9 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -170,6 +170,10 @@ router.beforeEach(async (to, from, next) => { if (appStore.bootloader && to.path !== '/quick-start') { next({ name: 'QuickStart' }); } + // 不重复引导 + if (!appStore.bootloader && to.path === '/quick-start') { + next({ name: 'Index' }); + } const token = getToken(); diff --git a/src/views/system/quick-start/components/NeInfoConfig.vue b/src/views/system/quick-start/components/NeInfoConfig.vue index cbe0b7d2..3a169df5 100644 --- a/src/views/system/quick-start/components/NeInfoConfig.vue +++ b/src/views/system/quick-start/components/NeInfoConfig.vue @@ -1,6 +1,6 @@