Add UserFramework

This commit is contained in:
2023-10-17 18:33:21 +08:00
parent 8c1bd15dc2
commit 5d71433d63
3 changed files with 63 additions and 0 deletions

17
src/router/user.tsx Normal file
View File

@@ -0,0 +1,17 @@
import React from 'react'
const user: RouteJsonObject[] = [
{
path: '',
id: 'user',
name: '个人档案',
icon: React.lazy(() => import('~icons/fatweb/user.jsx')),
menu: true
},
{
path: '*',
element: <Navigate to="/user" replace />
}
]
export default user