From 32949d8ef7ac061cf5871c147d3a19790b0061b4 Mon Sep 17 00:00:00 2001 From: aixianling Date: Mon, 15 May 2023 18:16:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/chat.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/chat.vue b/src/components/chat.vue index cb74ebe..902f49f 100644 --- a/src/components/chat.vue +++ b/src/components/chat.vue @@ -52,6 +52,7 @@ export default { role: "user" } this.chatHistory.push(myMsg) + this.inputText = "" //置空已发送的消息 this.loading = true const aiMsg = { avatar: ai.avatar,