fix: predict data 422

This commit is contained in:
ulleo
2025-07-24 18:28:42 +08:00
parent 1624a00841
commit d6861d761d
2 changed files with 8 additions and 0 deletions
@@ -156,6 +156,10 @@ const sendMessage = async () => {
}
switch (data.type) {
case 'id':
currentRecord.id = data.id
_currentChat.value.records[index.value].id = data.id
break
case 'info':
console.log(data.msg)
break
@@ -155,6 +155,10 @@ const sendMessage = async () => {
}
switch (data.type) {
case 'id':
currentRecord.id = data.id
_currentChat.value.records[index.value].id = data.id
break
case 'info':
console.log(data.msg)
break