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();