diff --git a/ui/src/components/ai-chat/component/chat-input-operate/index.vue b/ui/src/components/ai-chat/component/chat-input-operate/index.vue
index e616d0d68..581cf44d1 100644
--- a/ui/src/components/ai-chat/component/chat-input-operate/index.vue
+++ b/ui/src/components/ai-chat/component/chat-input-operate/index.vue
@@ -271,11 +271,15 @@
-
-
+
+
@@ -777,7 +781,7 @@ function sendChatHandle(event?: any) {
if (!event?.ctrlKey && !event?.shiftKey && !event?.altKey && !event?.metaKey) {
// 如果没有按下组合键,则会阻止默认事件
event?.preventDefault()
- if (!isDisabledChat.value && !props.loading && !event?.isComposing) {
+ if (!isDisabledChat.value && !props.loading && !event?.isComposing && !uploadLoading.value) {
if (inputValue.value.trim()) {
autoSendMessage()
}
diff --git a/ui/src/components/ai-chat/component/knowledge-source-component/ParagraphCard.vue b/ui/src/components/ai-chat/component/knowledge-source-component/ParagraphCard.vue
index 0ef5a34ab..7ed71cd21 100644
--- a/ui/src/components/ai-chat/component/knowledge-source-component/ParagraphCard.vue
+++ b/ui/src/components/ai-chat/component/knowledge-source-component/ParagraphCard.vue
@@ -3,7 +3,7 @@
shadow="never"
:title="index + 1 + '.' + data.title || '-'"
class="paragraph-source-card cursor mb-8 paragraph-source-card-height"
- :style="{ 'height': data?.document_name?.trim() ? '300px' : '260px' }"
+ :style="{ height: data?.document_name?.trim() ? '300px' : '260px' }"
:class="data.is_active ? '' : 'disabled'"
:showIcon="false"
>
@@ -26,22 +26,23 @@
>
-
-
-
- {{ data?.document_name?.trim() }}
-
-
-
-
- {{ data?.document_name?.trim() }}
-
-
+
+
+
+
+ {{ data?.document_name?.trim() }}
+
+
+
@@ -54,9 +55,10 @@