From e543acd2d1307b8003bf0e3ffb62abf78abb830e Mon Sep 17 00:00:00 2001 From: shaohuzhang1 <80892890+shaohuzhang1@users.noreply.github.com> Date: Sun, 28 Apr 2024 18:48:08 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E3=80=90=E9=97=AE=E7=AD=94=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E3=80=91=E6=8F=90=E9=97=AE=E8=BE=BE=E5=88=B0=E6=9C=80?= =?UTF-8?q?=E5=A4=A7=E9=99=90=E5=88=B6=E7=9A=84=E6=97=B6=E5=80=99=20?= =?UTF-8?q?=E8=BF=94=E5=9B=9E=E5=86=85=E5=AE=B9=E9=87=8D=E5=A4=8D=E3=80=82?= =?UTF-8?q?=20(#301)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/src/api/type/application.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/api/type/application.ts b/ui/src/api/type/application.ts index b39ed6707..6da9dd84a 100644 --- a/ui/src/api/type/application.ts +++ b/ui/src/api/type/application.ts @@ -56,7 +56,7 @@ export class ChatRecordManage { this.chat.answer_text = this.chat.answer_text + this.chat.buffer.splice(0, this.chat.buffer.length - 20).join('') } else if (this.is_close) { - this.chat.answer_text = this.chat.answer_text + this.chat.buffer.join('') + this.chat.answer_text = this.chat.answer_text + this.chat.buffer.splice(0).join('') this.chat.write_ed = true this.write_ed = true if (this.loading) {