修复bug
This commit is contained in:
parent
d081e0957c
commit
64b545869e
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue