feat: 快速开始建站页面

This commit is contained in:
TsMask
2024-04-17 15:07:02 +08:00
parent eb902594b8
commit e42a620aed
11 changed files with 302 additions and 3 deletions

View File

@@ -87,6 +87,12 @@ const constantRoutes: RouteRecordRaw[] = [
meta: { title: 'router.helpDoc' },
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: '/redirect',
name: 'Redirect',
@@ -136,7 +142,7 @@ router.afterEach((to, from, failure) => {
});
/**无Token可访问页面地址白名单 */
const WHITE_LIST: string[] = ['/login', '/auth-redirect', '/help', '/register'];
const WHITE_LIST: string[] = ['/login', '/auth-redirect', '/help', '/register', '/quick-build'];
/**全局路由-前置守卫 */
router.beforeEach((to, from, next) => {