feat: 新增系统设置帮助文档/官网设置

This commit is contained in:
TsMask
2023-11-23 15:04:46 +08:00
parent 12499e78ea
commit c1c6500df2
13 changed files with 493 additions and 55 deletions

View File

@@ -81,6 +81,12 @@ const constantRoutes: RouteRecordRaw[] = [
meta: { title: 'router.page403' },
component: () => import('@/views/error/403.vue'),
},
{
path: '/help',
name: 'HelpDoc',
meta: { title: 'router.helpDoc' },
component: () => import('@/views/tool/help/index.vue'),
},
{
path: '/redirect',
name: 'Redirect',
@@ -130,7 +136,7 @@ router.afterEach((to, from, failure) => {
});
/**无Token可访问页面地址白名单 */
const WHITE_LIST: string[] = ['/login', '/auth-redirect', '/bind', '/register'];
const WHITE_LIST: string[] = ['/login', '/auth-redirect', '/help', '/register'];
/**全局路由-前置守卫 */
router.beforeEach((to, from, next) => {