Add system setting
This commit is contained in:
19
src/router/system.tsx
Normal file
19
src/router/system.tsx
Normal file
@@ -0,0 +1,19 @@
|
||||
import React from 'react'
|
||||
|
||||
const user: RouteJsonObject[] = [
|
||||
{
|
||||
path: '',
|
||||
absolutePath: '/system',
|
||||
id: 'system',
|
||||
name: '系统设置',
|
||||
icon: React.lazy(() => import('~icons/fatweb/setting.jsx')),
|
||||
menu: true
|
||||
},
|
||||
{
|
||||
path: '*',
|
||||
absolutePath: '*',
|
||||
element: <Navigate to="/system" replace />
|
||||
}
|
||||
]
|
||||
|
||||
export default user
|
||||
Reference in New Issue
Block a user