diff --git a/dashboard/src/layouts/full/vertical-sidebar/sidebarItem.ts b/dashboard/src/layouts/full/vertical-sidebar/sidebarItem.ts index f541d1d91..e8f49c741 100644 --- a/dashboard/src/layouts/full/vertical-sidebar/sidebarItem.ts +++ b/dashboard/src/layouts/full/vertical-sidebar/sidebarItem.ts @@ -65,11 +65,11 @@ const sidebarItem: menu[] = [ icon: 'mdi-console', to: '/console' }, - // { - // title: 'Alkaid', - // icon: 'mdi-test-tube', - // to: '/alkaid' - // }, + { + title: 'Alkaid', + icon: 'mdi-test-tube', + to: '/alkaid' + }, { title: '关于', icon: 'mdi-information', diff --git a/dashboard/src/views/alkaid/KnowledgeBase.vue b/dashboard/src/views/alkaid/KnowledgeBase.vue index e31644e47..29889f41f 100644 --- a/dashboard/src/views/alkaid/KnowledgeBase.vue +++ b/dashboard/src/views/alkaid/KnowledgeBase.vue @@ -18,7 +18,9 @@
-

知识库列表

+

知识库列表 + mdi-information-outline +

创建知识库 @@ -698,6 +700,10 @@ export default { this.showSnackbar('获取嵌入模型列表失败', 'error'); return []; }); + }, + + openUrl(url) { + window.open(url, '_blank'); } } } diff --git a/dashboard/src/views/alkaid/LongTermMemory.vue b/dashboard/src/views/alkaid/LongTermMemory.vue index 45d687fec..e534c70d8 100644 --- a/dashboard/src/views/alkaid/LongTermMemory.vue +++ b/dashboard/src/views/alkaid/LongTermMemory.vue @@ -1,6 +1,11 @@