Optimize code

This commit is contained in:
2024-01-14 00:51:03 +08:00
parent 97c23334f7
commit b0be3bc4a7
63 changed files with 217 additions and 275 deletions

View File

@@ -1,13 +1,11 @@
import React from 'react'
const user: RouteJsonObject[] = [
{
path: '',
absolutePath: '/user',
id: 'user',
component: React.lazy(() => import('@/pages/User')),
component: lazy(() => import('@/pages/User')),
name: '个人档案',
icon: React.lazy(() => import('~icons/oxygen/user')),
icon: lazy(() => import('~icons/oxygen/user')),
menu: true
},
{