feat: 快速开始建站页面
This commit is contained in:
1 parent
eb902594b8
commit
e42a620aed
11 files changed
+302
-3
No files matched your search
+7
-1
@@ -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) => {
|
||||
|
||||
Reference in new issue
Block a user