From 10b8bd67a2b74dd9abf5bbb40c61f1957a8f7bfc Mon Sep 17 00:00:00 2001 From: wangdan-fit2cloud Date: Fri, 11 Jul 2025 15:46:50 +0800 Subject: [PATCH] fix: source --- .../knowledge-source-component/index.vue | 21 ++++++++++++++++++- ui/src/views/chat/pc/index.vue | 17 ++++++++++++++- 2 files changed, 36 insertions(+), 2 deletions(-) diff --git a/ui/src/components/ai-chat/component/knowledge-source-component/index.vue b/ui/src/components/ai-chat/component/knowledge-source-component/index.vue index b176750b0..4733f1107 100644 --- a/ui/src/components/ai-chat/component/knowledge-source-component/index.vue +++ b/ui/src/components/ai-chat/component/knowledge-source-component/index.vue @@ -77,6 +77,24 @@ :close-on-click-modal="false" :close-on-press-escape="false" > +
@@ -119,6 +137,7 @@ const dialogVisible = ref(false) const dialogTitle = ref('') const currentComponent = shallowRef(null) const currentChatDetail = ref(null) +const dialogType = ref('') function openParagraph(row: any, id?: string) { dialogTitle.value = t('chat.KnowledgeSource.title') const obj = cloneDeep(row) @@ -149,7 +168,7 @@ function openParagraphDocument(row: any) { emit('openParagraphDocument', row) return } - + dialogType.value = 'pdfDocument' currentComponent.value = ParagraphDocumentContent dialogTitle.value = row.document_name currentChatDetail.value = row diff --git a/ui/src/views/chat/pc/index.vue b/ui/src/views/chat/pc/index.vue index 58cfb26c2..fe0811e85 100644 --- a/ui/src/views/chat/pc/index.vue +++ b/ui/src/views/chat/pc/index.vue @@ -167,7 +167,22 @@ >

{{ rightPanelTitle }}

- +   +
+ + + + + + + + + + + + +