diff --git a/dashboard/src/router/MainRoutes.ts b/dashboard/src/router/MainRoutes.ts index 5ca9cd11f..276d37444 100644 --- a/dashboard/src/router/MainRoutes.ts +++ b/dashboard/src/router/MainRoutes.ts @@ -90,6 +90,13 @@ const MainRoutes = { } ] }, + + // 旧版本的知识库路由 + { + name: 'KnowledgeBase', + path: '/alkaid/knowledge-base', + component: () => import('@/views/alkaid/KnowledgeBase.vue'), + }, // { // name: 'Alkaid', // path: '/alkaid', @@ -112,28 +119,6 @@ const MainRoutes = { // } // ] // }, - { - name: 'Alkaid', - path: '/alkaid', - component: () => import('@/views/AlkaidPage.vue'), - children: [ - { - path: 'knowledge-base', - name: 'KnowledgeBase', - component: () => import('@/views/alkaid/KnowledgeBase.vue') - }, - { - path: 'long-term-memory', - name: 'LongTermMemory', - component: () => import('@/views/alkaid/LongTermMemory.vue') - }, - { - path: 'other', - name: 'OtherFeatures', - component: () => import('@/views/alkaid/Other.vue') - } - ] - }, { name: 'Chat', path: '/chat', diff --git a/dashboard/src/views/alkaid/KnowledgeBase.vue b/dashboard/src/views/alkaid/KnowledgeBase.vue index ed71dc2c6..56bf1124d 100644 --- a/dashboard/src/views/alkaid/KnowledgeBase.vue +++ b/dashboard/src/views/alkaid/KnowledgeBase.vue @@ -1,6 +1,11 @@