feat: add Skill route and navigation

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-21 11:29:22 +08:00
parent 0f63ac82f4
commit 6966ced359
2 changed files with 9 additions and 3 deletions

View File

@@ -10,11 +10,12 @@ const auth = useAuthStore()
const navItems = [ const navItems = [
{ name: '沟通系统', path: '/chat', icon: MessageCircle }, { name: '沟通系统', path: '/chat', icon: MessageCircle },
{ name: '智能链路', path: '/agents', icon: Bot }, { name: '智能链路', path: '/agents', icon: Bot },
{ name: 'Skill 市场', path: '/skills', icon: Bot },
{ name: '资料中枢', path: '/knowledge', icon: BookOpen }, { name: '资料中枢', path: '/knowledge', icon: BookOpen },
{ name: '关系图谱', path: '/graph', icon: Network }, { name: '知识大脑', path: '/graph', icon: Network },
{ name: '任务矩阵', path: '/kanban', icon: LayoutGrid }, { name: '任务矩阵', path: '/kanban', icon: LayoutGrid },
{ name: '事务栈', path: '/todo', icon: CheckSquare }, { name: '任务调度', path: '/todo', icon: CheckSquare },
{ name: '交互广场', path: '/forum', icon: MessageSquare }, { name: '信息交易所', path: '/forum', icon: MessageSquare },
{ name: '数据舱', path: '/stats', icon: Activity }, { name: '数据舱', path: '/stats', icon: Activity },
{ name: '系统设置', path: '/settings', icon: Settings }, { name: '系统设置', path: '/settings', icon: Settings },
] ]

View File

@@ -54,6 +54,11 @@ const router = createRouter({
name: 'stats', name: 'stats',
component: () => import('@/views/StatsView.vue'), component: () => import('@/views/StatsView.vue'),
}, },
{
path: 'skills',
name: 'skills',
component: () => import('@/views/SkillView.vue'),
},
{ {
path: 'todo', path: 'todo',
name: 'todo', name: 'todo',