diff --git a/ui/src/components/ai-chat/KnowledgeSource.vue b/ui/src/components/ai-chat/KnowledgeSource.vue index cb8bf66db..db1dd6669 100644 --- a/ui/src/components/ai-chat/KnowledgeSource.vue +++ b/ui/src/components/ai-chat/KnowledgeSource.vue @@ -20,7 +20,12 @@
@@ -98,14 +103,6 @@ const uniqueParagraphList = computed(() => { }) || [] ) }) - -function openLink(url: string) { - // 如果url不是以/结尾,加上/ - if (url && !url.endsWith('/')) { - url += '/' - } - window.open(url, '_blank') -}