From 9d9393f9cef2786e3755d1154b806e623e387c96 Mon Sep 17 00:00:00 2001 From: shiyu Date: Mon, 9 Jun 2025 13:28:08 +0800 Subject: [PATCH] feat(ui): enhance admin panel navigation with new icons and updated labels --- Web/src/routes/index.tsx | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/Web/src/routes/index.tsx b/Web/src/routes/index.tsx index e4c13f5..febe322 100644 --- a/Web/src/routes/index.tsx +++ b/Web/src/routes/index.tsx @@ -8,7 +8,8 @@ import { CompassOutlined, DashboardOutlined, UserOutlined, - FileTextOutlined + FileTextOutlined, + DatabaseOutlined } from '@ant-design/icons'; import AllImages from '../pages/allImages/Index'; @@ -145,6 +146,7 @@ const routes: RouteConfig[] = [ label: '用户管理', element: , area: 'admin', + groupLabel: '用户中心', breadcrumb: { title: '用户管理' } @@ -165,13 +167,13 @@ const routes: RouteConfig[] = [ path: 'pictures', key: 'admin-picture', icon: , - label: '图片', + label: '图片管理', element: , area: 'admin', - groupLabel: '资源管理', + groupLabel: '内容管理', breadcrumb: { - title: '图片' - } + title: '图片管理' + } }, { path: 'log', @@ -180,17 +182,19 @@ const routes: RouteConfig[] = [ label: '日志中心', element: , area: 'admin', + groupLabel: '系统运维', breadcrumb: { title: '日志中心' } }, - { + { path: 'storage', key: 'admin-storage', - icon: , + icon: , label: '存储配置', element: , area: 'admin', + groupLabel: '系统运维', breadcrumb: { title: '存储配置' } @@ -202,6 +206,7 @@ const routes: RouteConfig[] = [ label: '系统设置', element: , area: 'admin', + groupLabel: '系统运维', breadcrumb: { title: '系统设置' }