提交 56c7b429 编写于 作者: DCloud_JSON's avatar DCloud_JSON

修复 web端Vue3下 发送消息状态不更新的问题

上级 e86731c3
...@@ -760,7 +760,8 @@ ...@@ -760,7 +760,8 @@
// 接收消息的appId,默认为当前应用的appId。如果你是2个不同appId的应用相互发,请修改此值为相对的appId // 接收消息的appId,默认为当前应用的appId。如果你是2个不同appId的应用相互发,请修改此值为相对的appId
data.appId = this.systemInfo.appId data.appId = this.systemInfo.appId
// 拿到当前消息的索引值 // 拿到当前消息的索引值
let index = this.conversation.msgList.findIndex(i=>i.unique_id == data.unique_id) let index = this.conversation.msgList.findIndex(i=>i.unique_id == data.unique_id)
data = Object.assign({},data)
uniImCo.sendMsg(data) uniImCo.sendMsg(data)
.then(e => { .then(e => {
// console.log('uniImCo.sendMsg',{e,data}); // console.log('uniImCo.sendMsg',{e,data});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册