fix(web): reorder model navigation item
This commit is contained in:
parent
ca7e76e815
commit
9243db2787
@ -6,8 +6,8 @@ import { Button, Badge } from '../ui';
|
|||||||
|
|
||||||
const navItems: Array<{ key: PageKey; label: string; icon: ReactNode }> = [
|
const navItems: Array<{ key: PageKey; label: string; icon: ReactNode }> = [
|
||||||
{ key: 'home', label: '首页', icon: <Home size={17} /> },
|
{ key: 'home', label: '首页', icon: <Home size={17} /> },
|
||||||
{ key: 'playground', label: '在线测试', icon: <Sparkles size={17} /> },
|
|
||||||
{ key: 'models', label: '模型', icon: <Boxes size={17} /> },
|
{ key: 'models', label: '模型', icon: <Boxes size={17} /> },
|
||||||
|
{ key: 'playground', label: '在线测试', icon: <Sparkles size={17} /> },
|
||||||
{ key: 'workspace', label: '用户工作台', icon: <UserCircle size={17} /> },
|
{ key: 'workspace', label: '用户工作台', icon: <UserCircle size={17} /> },
|
||||||
{ key: 'admin', label: '管理工作台', icon: <ShieldCheck size={17} /> },
|
{ key: 'admin', label: '管理工作台', icon: <ShieldCheck size={17} /> },
|
||||||
{ key: 'docs', label: 'API 文档', icon: <BookOpen size={17} /> },
|
{ key: 'docs', label: 'API 文档', icon: <BookOpen size={17} /> },
|
||||||
|
|||||||
@ -5,18 +5,18 @@ export const primaryModules = [
|
|||||||
description: '服务状态、推荐模型、最近任务、用量摘要和快捷入口。',
|
description: '服务状态、推荐模型、最近任务、用量摘要和快捷入口。',
|
||||||
items: ['能力概览', '最近任务', '用量摘要'],
|
items: ['能力概览', '最近任务', '用量摘要'],
|
||||||
},
|
},
|
||||||
{
|
|
||||||
title: '在线测试',
|
|
||||||
path: '/playground',
|
|
||||||
description: '大模型、图像生成和视频生成的在线测试工作台。',
|
|
||||||
items: ['大模型', '图像生成', '视频生成'],
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
title: '模型',
|
title: '模型',
|
||||||
path: '/models',
|
path: '/models',
|
||||||
description: '按能力、价格、限流和 provider 浏览模型,并进入在线试用。',
|
description: '按能力、价格、限流和 provider 浏览模型,并进入在线试用。',
|
||||||
items: ['模型广场', '模型详情', '调用测试'],
|
items: ['模型广场', '模型详情', '调用测试'],
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: '在线测试',
|
||||||
|
path: '/playground',
|
||||||
|
description: '大模型、图像生成和视频生成的在线测试工作台。',
|
||||||
|
items: ['大模型', '图像生成', '视频生成'],
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: '用户工作台',
|
title: '用户工作台',
|
||||||
path: '/workspace',
|
path: '/workspace',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user