mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: 日志打印
This commit is contained in:
parent
40dfe39294
commit
2c9ef25754
|
|
@ -23,7 +23,7 @@ interface chatType {
|
|||
*/
|
||||
is_stop?: boolean
|
||||
record_id: string
|
||||
vote_status: string,
|
||||
vote_status: string
|
||||
}
|
||||
|
||||
export class ChatRecordManage {
|
||||
|
|
@ -54,14 +54,15 @@ export class ChatRecordManage {
|
|||
this.chat.answer_text = this.chat.answer_text + s
|
||||
} else {
|
||||
if (this.is_close) {
|
||||
if(this.id){
|
||||
clearInterval(this.id)
|
||||
}
|
||||
this.chat.write_ed = true
|
||||
this.write_ed = true
|
||||
if (this.loading) {
|
||||
console.log('停止')
|
||||
this.loading.value = false
|
||||
}
|
||||
if (this.id) {
|
||||
clearInterval(this.id)
|
||||
}
|
||||
}
|
||||
}
|
||||
}, this.ms)
|
||||
|
|
@ -75,6 +76,7 @@ export class ChatRecordManage {
|
|||
}
|
||||
}
|
||||
close() {
|
||||
console.log('close')
|
||||
this.is_close = true
|
||||
}
|
||||
append(answer_text_block: string) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue