修复bug

This commit is contained in:
weipengfei 2023-10-13 13:50:16 +08:00
parent d081e0957c
commit 64b545869e
1 changed files with 2 additions and 2 deletions

View File

@ -204,7 +204,7 @@ async function onConversation() {
}, },
], ],
})) }))
nowStauts = 'loding' nowStauts.value = 'loding'
// WebSocket // WebSocket
socket.onmessage = (event: any) => { socket.onmessage = (event: any) => {
@ -214,7 +214,7 @@ async function onConversation() {
lastText += msg.payload.choices.text[0].content lastText += msg.payload.choices.text[0].content
mp3.push(msg.payload.choices.mp3) mp3.push(msg.payload.choices.mp3)
const loading = true const loading = true
nowStauts = 'input' nowStauts.value = 'input'
updateChat( updateChat(
+uuid, +uuid,
dataSources.value.length - 1, dataSources.value.length - 1,