fix: reorder menu — settings at bottom
Some checks failed
Deploy Admin Frontend / build-and-deploy (push) Failing after 4s
Some checks failed
Deploy Admin Frontend / build-and-deploy (push) Failing after 4s
This commit is contained in:
parent
b3f4e141cb
commit
cfb45dcbe2
@ -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: '知识源列表' },
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user