mirror of
https://github.com/chaitin/MonkeyCode.git
synced 2026-02-03 15:23:30 +08:00
fix: 路径问题
This commit is contained in:
@@ -8,7 +8,7 @@ const ADMIN_BREADCRUMB_MAP: Record<string, { title: string; to: string }> = {
|
||||
chat: { title: '对话记录', to: '/chat' },
|
||||
completion: { title: '补全记录', to: '/completion' },
|
||||
model: { title: '模型管理', to: '/model' },
|
||||
'user-management': { title: '成员管理', to: '/user-management' },
|
||||
'member-management': { title: '成员管理', to: '/member-management' },
|
||||
admin: { title: '管理员', to: '/admin' },
|
||||
};
|
||||
|
||||
|
||||
@@ -51,8 +51,8 @@ const ADMIN_MENUS = [
|
||||
},
|
||||
{
|
||||
label: '成员管理',
|
||||
value: '/user-management',
|
||||
pathname: 'user-management',
|
||||
value: '/member-management',
|
||||
pathname: 'member-management',
|
||||
icon: 'icon-yonghuguanli1',
|
||||
show: true,
|
||||
disabled: false,
|
||||
|
||||
@@ -32,7 +32,7 @@ const Dashboard = LazyLoadable(lazy(() => import('@/pages/dashboard')));
|
||||
const Chat = LazyLoadable(lazy(() => import('@/pages/chat')));
|
||||
const Completion = LazyLoadable(lazy(() => import('@/pages/completion')));
|
||||
const Model = LazyLoadable(lazy(() => import('@/pages/model')));
|
||||
const User = LazyLoadable(lazy(() => import('@/pages/user-management')));
|
||||
const MemberManage = LazyLoadable(lazy(() => import('@/pages/memberManage')));
|
||||
const Admin = LazyLoadable(lazy(() => import('@/pages/admin')));
|
||||
const Invite = LazyLoadable(lazy(() => import('@/pages/invite')));
|
||||
const Auth = LazyLoadable(lazy(() => import('@/pages/auth')));
|
||||
@@ -79,8 +79,8 @@ const routerConfig = [
|
||||
element: <Model />,
|
||||
},
|
||||
{
|
||||
path: 'user-management',
|
||||
element: <User />,
|
||||
path: 'member-management',
|
||||
element: <MemberManage />,
|
||||
},
|
||||
{
|
||||
path: 'admin',
|
||||
|
||||
Reference in New Issue
Block a user