fix: 日志打印
This commit is contained in:
parent
40dfe39294
commit
2c9ef25754
@ -23,7 +23,7 @@ interface chatType {
|
|||||||
*/
|
*/
|
||||||
is_stop?: boolean
|
is_stop?: boolean
|
||||||
record_id: string
|
record_id: string
|
||||||
vote_status: string,
|
vote_status: string
|
||||||
}
|
}
|
||||||
|
|
||||||
export class ChatRecordManage {
|
export class ChatRecordManage {
|
||||||
@ -54,14 +54,15 @@ export class ChatRecordManage {
|
|||||||
this.chat.answer_text = this.chat.answer_text + s
|
this.chat.answer_text = this.chat.answer_text + s
|
||||||
} else {
|
} else {
|
||||||
if (this.is_close) {
|
if (this.is_close) {
|
||||||
if(this.id){
|
|
||||||
clearInterval(this.id)
|
|
||||||
}
|
|
||||||
this.chat.write_ed = true
|
this.chat.write_ed = true
|
||||||
this.write_ed = true
|
this.write_ed = true
|
||||||
if (this.loading) {
|
if (this.loading) {
|
||||||
|
console.log('停止')
|
||||||
this.loading.value = false
|
this.loading.value = false
|
||||||
}
|
}
|
||||||
|
if (this.id) {
|
||||||
|
clearInterval(this.id)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, this.ms)
|
}, this.ms)
|
||||||
@ -75,6 +76,7 @@ export class ChatRecordManage {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
close() {
|
close() {
|
||||||
|
console.log('close')
|
||||||
this.is_close = true
|
this.is_close = true
|
||||||
}
|
}
|
||||||
append(answer_text_block: string) {
|
append(answer_text_block: string) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user