From 7f02bd7c9b5721957598b27a958b04fb146dc1d0 Mon Sep 17 00:00:00 2001 From: Lexcubia Date: Mon, 21 Apr 2025 09:34:52 +0800 Subject: [PATCH] =?UTF-8?q?update:=20=E4=BF=AE=E6=94=B9=E5=8F=91=E9=80=81?= =?UTF-8?q?=E6=B6=88=E6=81=AF=E9=80=BB=E8=BE=91=EF=BC=8C=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E5=8F=91=E9=80=81=E6=8C=89=E9=92=AE=E6=9C=AA=E7=A6=81=E7=94=A8?= =?UTF-8?q?=E6=97=B6=E7=9A=84=E8=BE=93=E5=85=A5=E9=AA=8C=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/chat/ChatInterface.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/chat/ChatInterface.vue b/src/views/chat/ChatInterface.vue index 01f06fd..85fd7f4 100644 --- a/src/views/chat/ChatInterface.vue +++ b/src/views/chat/ChatInterface.vue @@ -239,7 +239,7 @@ watch(() => currentMessages.value?.map(msg => msg.respondingType), (newTypes, ol // 发送消息时滚动到底部 const sendMessage = () => { - if (!messageInput.value.trim()) return + if (!messageInput.value.trim() && !sendButtonsDisabled.value) return chatStore.sendMessage(messageInput.value) messageInput.value = '' messageInputRef.value.style.height = 'auto'