mirror of
https://github.com/DrizzleTime/Foxel.git
synced 2026-09-06 16:17:06 +08:00
feat(ui): enhance admin panel navigation with new icons and updated labels
This commit is contained in:
@@ -8,7 +8,8 @@ import {
|
|||||||
CompassOutlined,
|
CompassOutlined,
|
||||||
DashboardOutlined,
|
DashboardOutlined,
|
||||||
UserOutlined,
|
UserOutlined,
|
||||||
FileTextOutlined
|
FileTextOutlined,
|
||||||
|
DatabaseOutlined
|
||||||
} from '@ant-design/icons';
|
} from '@ant-design/icons';
|
||||||
|
|
||||||
import AllImages from '../pages/allImages/Index';
|
import AllImages from '../pages/allImages/Index';
|
||||||
@@ -145,6 +146,7 @@ const routes: RouteConfig[] = [
|
|||||||
label: '用户管理',
|
label: '用户管理',
|
||||||
element: <UserManagement />,
|
element: <UserManagement />,
|
||||||
area: 'admin',
|
area: 'admin',
|
||||||
|
groupLabel: '用户中心',
|
||||||
breadcrumb: {
|
breadcrumb: {
|
||||||
title: '用户管理'
|
title: '用户管理'
|
||||||
}
|
}
|
||||||
@@ -165,13 +167,13 @@ const routes: RouteConfig[] = [
|
|||||||
path: 'pictures',
|
path: 'pictures',
|
||||||
key: 'admin-picture',
|
key: 'admin-picture',
|
||||||
icon: <PictureOutlined />,
|
icon: <PictureOutlined />,
|
||||||
label: '图片',
|
label: '图片管理',
|
||||||
element: <PictureManagement />,
|
element: <PictureManagement />,
|
||||||
area: 'admin',
|
area: 'admin',
|
||||||
groupLabel: '资源管理',
|
groupLabel: '内容管理',
|
||||||
breadcrumb: {
|
breadcrumb: {
|
||||||
title: '图片'
|
title: '图片管理'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: 'log',
|
path: 'log',
|
||||||
@@ -180,17 +182,19 @@ const routes: RouteConfig[] = [
|
|||||||
label: '日志中心',
|
label: '日志中心',
|
||||||
element: <AdminLogManagement />,
|
element: <AdminLogManagement />,
|
||||||
area: 'admin',
|
area: 'admin',
|
||||||
|
groupLabel: '系统运维',
|
||||||
breadcrumb: {
|
breadcrumb: {
|
||||||
title: '日志中心'
|
title: '日志中心'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: 'storage',
|
path: 'storage',
|
||||||
key: 'admin-storage',
|
key: 'admin-storage',
|
||||||
icon: <FileTextOutlined />,
|
icon: <DatabaseOutlined />,
|
||||||
label: '存储配置',
|
label: '存储配置',
|
||||||
element: <StorageManagementPage />,
|
element: <StorageManagementPage />,
|
||||||
area: 'admin',
|
area: 'admin',
|
||||||
|
groupLabel: '系统运维',
|
||||||
breadcrumb: {
|
breadcrumb: {
|
||||||
title: '存储配置'
|
title: '存储配置'
|
||||||
}
|
}
|
||||||
@@ -202,6 +206,7 @@ const routes: RouteConfig[] = [
|
|||||||
label: '系统设置',
|
label: '系统设置',
|
||||||
element: <System />,
|
element: <System />,
|
||||||
area: 'admin',
|
area: 'admin',
|
||||||
|
groupLabel: '系统运维',
|
||||||
breadcrumb: {
|
breadcrumb: {
|
||||||
title: '系统设置'
|
title: '系统设置'
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user