Separate official website page

This commit is contained in:
2023-12-28 17:50:26 +08:00
parent 81d6f0ac29
commit 0b8df09336
33 changed files with 125 additions and 980 deletions

View File

@@ -1,7 +1,6 @@
import React from 'react'
import _ from 'lodash'
import system from '@/router/system'
import home from '@/router/home'
import user from '@/router/user'
import tools from '@/router/tools'
import { getAuthRoute, mapJsonToRoute, setTitle } from '@/util/route'
@@ -44,15 +43,6 @@ const root: RouteJsonObject[] = [
id: 'loading',
component: React.lazy(() => import('@/components/common/FullscreenLoadingMask'))
},
{
path: 'tools',
absolutePath: '/tools',
id: 'toolsFramework',
component: React.lazy(() => import('@/pages/ToolsFramework')),
children: setTitle(tools, '氧工具'),
name: '工具',
auth: false
},
{
path: 'user',
absolutePath: '/user',
@@ -75,9 +65,11 @@ const root: RouteJsonObject[] = [
{
path: '',
absolutePath: '/',
id: 'homeFramework',
component: React.lazy(() => import('@/pages/HomeFramework')),
children: home
id: 'toolsFramework',
component: React.lazy(() => import('@/pages/ToolsFramework')),
children: setTitle(tools, '氧工具'),
name: '工具',
auth: false
},
{
path: '*',