修复
This commit is contained in:
@@ -52,6 +52,7 @@ export default {
|
|||||||
role: "user"
|
role: "user"
|
||||||
}
|
}
|
||||||
this.chatHistory.push(myMsg)
|
this.chatHistory.push(myMsg)
|
||||||
|
this.inputText = "" //置空已发送的消息
|
||||||
this.loading = true
|
this.loading = true
|
||||||
const aiMsg = {
|
const aiMsg = {
|
||||||
avatar: ai.avatar,
|
avatar: ai.avatar,
|
||||||
|
|||||||
Reference in New Issue
Block a user