diff --git a/src/views/chat/index.vue b/src/views/chat/index.vue index e09392e..6193531 100644 --- a/src/views/chat/index.vue +++ b/src/views/chat/index.vue @@ -204,7 +204,7 @@ async function onConversation() { }, ], })) - nowStauts = 'loding' + nowStauts.value = 'loding' // 监听WebSocket接收消息事件 socket.onmessage = (event: any) => { @@ -214,7 +214,7 @@ async function onConversation() { lastText += msg.payload.choices.text[0].content mp3.push(msg.payload.choices.mp3) const loading = true - nowStauts = 'input' + nowStauts.value = 'input' updateChat( +uuid, dataSources.value.length - 1,