From e6a439faea733ac2708a1faf88bd7b06ea6755b9 Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Wed, 24 Apr 2024 15:57:03 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=BC=80=E7=AB=99=E7=9B=AE=E5=BD=95?= =?UTF-8?q?=E5=8F=98=E6=9B=B4quick-start?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/router/index.ts b/src/router/index.ts index 8b327fc7..48d3edbd 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -88,10 +88,10 @@ const constantRoutes: RouteRecordRaw[] = [ component: () => import('@/views/tool/help/index.vue'), }, { - path: '/quick-build', - name: 'QuickBuild', - meta: { title: 'router.quickBuild' }, - component: () => import('@/views/system/quick-build/index.vue'), + path: '/quick-start', + name: 'QuickStart', + meta: { title: 'router.quickStart' }, + component: () => import('@/views/system/quick-start/index.vue'), }, { path: '/redirect', @@ -147,7 +147,7 @@ const WHITE_LIST: string[] = [ '/auth-redirect', '/help', '/register', - '/quick-build', + '/quick-start', ]; /**全局路由-前置守卫 */ @@ -161,8 +161,8 @@ router.beforeEach(async (to, from, next) => { } console.log(to.path); // 需要系统引导跳转 - if (appStore.sysGuide && to.path !== '/quick-build') { - next({ name: 'QuickBuild' }); + if (appStore.sysGuide && to.path !== '/quick-start') { + next({ name: 'QuickStart' }); } const token = getToken();