From 7e4e2e98bbbfc7209c056fd56afe387e6a0133db Mon Sep 17 00:00:00 2001 From: shaohuzhang1 <80892890+shaohuzhang1@users.noreply.github.com> Date: Wed, 2 Apr 2025 18:10:42 +0800 Subject: [PATCH] fix: When answering a question - click to stop answering - wait until the question is approximately answered, then click to continue - it will remain in a stopped answering state (#2784) --- ui/src/api/type/application.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ui/src/api/type/application.ts b/ui/src/api/type/application.ts index a8fac6d1f..0408e6f1f 100644 --- a/ui/src/api/type/application.ts +++ b/ui/src/api/type/application.ts @@ -249,7 +249,10 @@ export class ChatRecordManage { write() { this.chat.is_stop = false this.is_stop = false - this.is_close = false + if (!this.is_close) { + this.is_close = false + } + this.write_ed = false this.chat.write_ed = false if (this.loading) {