Add UserFramework
This commit is contained in:
17
src/router/user.tsx
Normal file
17
src/router/user.tsx
Normal 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
|
||||
Reference in New Issue
Block a user