fix: reorder menu — settings at bottom
Some checks failed
Deploy Admin Frontend / build-and-deploy (push) Failing after 4s

This commit is contained in:
WangDL 2026-05-22 16:40:16 +08:00
parent b3f4e141cb
commit cfb45dcbe2

View File

@ -59,9 +59,7 @@ export function filterMenuByRole(items: AdminMenuItem[], role?: AdminRole): Admi
{ path: '/', name: '总览', icon: <DashboardOutlined /> }, { path: '/', name: '总览', icon: <DashboardOutlined /> },
{ path: '/assistant', name: '任务助理', icon: <RobotOutlined /> }, { path: '/assistant', name: '任务助理', icon: <RobotOutlined /> },
{ {
path: '/users', path: '/users', name: '用户管理', icon: <UserOutlined />,
name: '用户管理',
icon: <UserOutlined />,
children: [ children: [
{ path: '/users/admins', name: '管理员', requiredRole: 'SUPER_ADMIN' }, { path: '/users/admins', name: '管理员', requiredRole: 'SUPER_ADMIN' },
{ path: '/users/members', name: '普通用户' }, { path: '/users/members', name: '普通用户' },
@ -69,9 +67,7 @@ export function filterMenuByRole(items: AdminMenuItem[], role?: AdminRole): Admi
}, },
{ path: '/membership', name: '会员与额度', icon: <DollarOutlined />, requiredRole: 'ADMIN' }, { path: '/membership', name: '会员与额度', icon: <DollarOutlined />, requiredRole: 'ADMIN' },
{ {
path: '/knowledge', path: '/knowledge', name: '知识库管理', icon: <BookOutlined />,
name: '知识库管理',
icon: <BookOutlined />,
children: [ children: [
{ path: '/knowledge/bases', name: '知识库列表' }, { path: '/knowledge/bases', name: '知识库列表' },
{ path: '/knowledge/sources', name: '知识源列表' }, { path: '/knowledge/sources', name: '知识源列表' },