新增:接收 websocket 消息

This commit is contained in:
安浩浩
2024-05-27 23:41:45 +08:00
parent 569b1b64bd
commit 063a61644a
11 changed files with 473 additions and 202 deletions

View File

@ -116,9 +116,9 @@ const sendTextMessage = _.debounce(async () => {
messageQuoteRef.value?.clearQuoteContent()
try {
console.log('imMessageSendReqVO', imMessageSendReqVO)
await MessageApi.sendMessage(imMessageSendReqVO)
const imMessageSendRespVO = await MessageApi.sendMessage(imMessageSendReqVO)
console.log('>>>>>发送成功', imMessageSendRespVO)
} catch (error) {
//handleSDKErrorNotifi(error.type, error.message)
console.log('>>>>>>>发送失败+++++++', error)
} finally {
isAtAll.value = false