From 5cb0b3018f4ee4b5ca007224555d26f7421e4131 Mon Sep 17 00:00:00 2001 From: wangdan-fit2cloud Date: Tue, 15 Jul 2025 19:57:21 +0800 Subject: [PATCH] fix: pdf --- .../knowledge-source-component/index.vue | 6 +- ui/src/views/chat/pc/index.vue | 155 +++++++++--------- 2 files changed, 83 insertions(+), 78 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 913e5de32..fd6c76002 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 @@ -89,7 +89,7 @@ {{ dialogTitle }} -
+
@@ -149,7 +149,7 @@ const showPDF = (item: any) => { return ( item.document_name.toLocaleLowerCase().endsWith('.pdf') && item.meta?.source_file_id && - !props.executionIsRightPanel + props.executionIsRightPanel ) } const dialogVisible = ref(false) diff --git a/ui/src/views/chat/pc/index.vue b/ui/src/views/chat/pc/index.vue index da3092d95..82ecb93c5 100644 --- a/ui/src/views/chat/pc/index.vue +++ b/ui/src/views/chat/pc/index.vue @@ -41,16 +41,16 @@ chatUser.chat_profile.authentication_type === 'password' " > - +
- + {{ - chatUser.chatUserProfile?.nick_name - }} + chatUser.chatUserProfile?.nick_name + }}