Просмотр исходного кода

Merge remote-tracking branch 'origin/main'

elksmmx 1 месяц назад
Родитель
Сommit
f5a60bf656

+ 1 - 1
knowhub/frontend/src/components/layout/Navbar.tsx

@@ -11,9 +11,9 @@ interface NavbarProps {
 const TABS = [
 const TABS = [
   { id: 'dashboard', label: 'Dashboard', icon: Home },
   { id: 'dashboard', label: 'Dashboard', icon: Home },
   { id: 'requirements', label: '需求库', icon: Target },
   { id: 'requirements', label: '需求库', icon: Target },
+  { id: 'workflows', label: '工序库', icon: Layers },
   { id: 'capabilities', label: '能力库', icon: Cpu },
   { id: 'capabilities', label: '能力库', icon: Cpu },
   { id: 'tools', label: '工具库', icon: Wrench },
   { id: 'tools', label: '工具库', icon: Wrench },
-  { id: 'workflows', label: '工序库', icon: Layers },
   { id: 'knowledge', label: '知识库', icon: FileText },
   { id: 'knowledge', label: '知识库', icon: FileText },
 ] as const;
 ] as const;
 
 

+ 1 - 1
knowhub/frontend/src/layouts/MainLayout.tsx

@@ -9,7 +9,7 @@ interface MainLayoutProps {
 }
 }
 
 
 // 这里的顺序决定了滑动的顺序,必须是 6 个!
 // 这里的顺序决定了滑动的顺序,必须是 6 个!
-const TAB_ORDER: TabId[] = ['dashboard', 'requirements', 'capabilities', 'tools', 'workflows', 'knowledge'];
+const TAB_ORDER: TabId[] = ['dashboard', 'requirements', 'workflows', 'capabilities', 'tools', 'knowledge'];
 const MIN_SWITCH_INTERVAL = 1000;
 const MIN_SWITCH_INTERVAL = 1000;
 
 
 export function MainLayout({ activeTab, onTabChange, children }: MainLayoutProps) {
 export function MainLayout({ activeTab, onTabChange, children }: MainLayoutProps) {