From 50bd4687def311cc601400bda1958f87f8e6de1c Mon Sep 17 00:00:00 2001 From: Twilight Date: Thu, 19 Sep 2024 17:00:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20=E6=8E=A8=E7=90=86?= =?UTF-8?q?=E5=A4=B1=E8=B4=A5=E4=B8=8D=E8=83=BD=E6=81=A2=E5=A4=8D=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/chat/Chat.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/chat/Chat.vue b/src/components/chat/Chat.vue index a1311ff..e3d1d3e 100644 --- a/src/components/chat/Chat.vue +++ b/src/components/chat/Chat.vue @@ -538,6 +538,9 @@ function streamChat(streamId: String, redirect = false) { content: "目前无法完成推理,请稍后再试。", positiveText: "好", }); + + evtSource.close(); + processing.value = false; }; let messageAdded = false;