mirror of
http://112.124.100.131/ebiz-ai/ebiz-base-ai.git
synced 2025-12-10 11:26:51 +08:00
fix: 修复错误引用的问题
- 修复 message 里面解引用异常的问题
This commit is contained in:
@@ -241,8 +241,9 @@ export default {
|
||||
}
|
||||
|
||||
if (this.single) {
|
||||
// this.messages[this.messages.length - 1]
|
||||
this.messages.splice(this.messages.length - 1, 1, this.currentMessage)
|
||||
this.messages.length -= 1
|
||||
// deubg
|
||||
this.messages.push(this.currentMessage)
|
||||
} else {
|
||||
this.messages.push(this.currentMessage)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user