Skip to content

Commit 7e4e2e9

Browse files
authored
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)
1 parent 21d2a44 commit 7e4e2e9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ui/src/api/type/application.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,10 @@ export class ChatRecordManage {
249249
write() {
250250
this.chat.is_stop = false
251251
this.is_stop = false
252-
this.is_close = false
252+
if (!this.is_close) {
253+
this.is_close = false
254+
}
255+
253256
this.write_ed = false
254257
this.chat.write_ed = false
255258
if (this.loading) {

0 commit comments

Comments
 (0)