Add system setting

This commit is contained in:
2023-11-01 10:31:41 +08:00
parent d26c4da45f
commit 9b6ab39ea1
6 changed files with 76 additions and 4 deletions

19
src/router/system.tsx Normal file
View 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