From 0c655147e8a343f23b2818db2464895753bac721 Mon Sep 17 00:00:00 2001 From: wangdan-fit2cloud Date: Wed, 30 Oct 2024 11:08:25 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/src/components/ai-chat/KnowledgeSource.vue | 2 +- ui/src/components/ai-chat/component/ParagraphCard.vue | 4 ++-- ui/src/request/index.ts | 2 +- ui/src/workflow/nodes/base-node/index.vue | 5 +++-- ui/src/workflow/nodes/search-dataset-node/index.vue | 6 +++--- 5 files changed, 10 insertions(+), 9 deletions(-) diff --git a/ui/src/components/ai-chat/KnowledgeSource.vue b/ui/src/components/ai-chat/KnowledgeSource.vue index e738d022e..1fe0ef563 100644 --- a/ui/src/components/ai-chat/KnowledgeSource.vue +++ b/ui/src/components/ai-chat/KnowledgeSource.vue @@ -16,7 +16,7 @@ class="source_dataset-button" @click="openParagraph(data, dataset.id)" > - {{ dataset.name }} + {{ dataset.name }} diff --git a/ui/src/components/ai-chat/component/ParagraphCard.vue b/ui/src/components/ai-chat/component/ParagraphCard.vue index d067ecb46..d15fee80e 100644 --- a/ui/src/components/ai-chat/component/ParagraphCard.vue +++ b/ui/src/components/ai-chat/component/ParagraphCard.vue @@ -21,14 +21,14 @@ - {{ data?.document_name }} + {{ data?.document_name.trim() }}
- {{ data?.dataset_name }} + {{ data?.dataset_name }}
diff --git a/ui/src/request/index.ts b/ui/src/request/index.ts index 4c8bbed16..204fa297c 100644 --- a/ui/src/request/index.ts +++ b/ui/src/request/index.ts @@ -11,7 +11,7 @@ import { ref, type WritableComputedRef } from 'vue' const axiosConfig = { baseURL: '/api', withCredentials: false, - timeout: 60000, + timeout: 600000, headers: {} } diff --git a/ui/src/workflow/nodes/base-node/index.vue b/ui/src/workflow/nodes/base-node/index.vue index 06e358634..a39b62be5 100644 --- a/ui/src/workflow/nodes/base-node/index.vue +++ b/ui/src/workflow/nodes/base-node/index.vue @@ -52,13 +52,13 @@
语音输入 - - + -->
@@ -156,6 +156,7 @@ popper-class="select-model" @change="ttsModelChange()" placeholder="请选择语音合成模型" + :teleported="false" >