|
|
@ -2,7 +2,7 @@
|
|
|
|
* @Author: ch
|
|
|
|
* @Author: ch
|
|
|
|
* @Date: 2022-05-18 14:54:47
|
|
|
|
* @Date: 2022-05-18 14:54:47
|
|
|
|
* @LastEditors: ch
|
|
|
|
* @LastEditors: ch
|
|
|
|
* @LastEditTime: 2022-06-14 16:00:12
|
|
|
|
* @LastEditTime: 2022-06-14 17:20:50
|
|
|
|
* @Description: file content
|
|
|
|
* @Description: file content
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
import '@/utils/poto-req';
|
|
|
|
import '@/utils/poto-req';
|
|
|
@ -382,6 +382,7 @@ class MsbIm {
|
|
|
|
msgCtx.payload = JSON.parse(msgCtx.payload);
|
|
|
|
msgCtx.payload = JSON.parse(msgCtx.payload);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// 点发送,立即把消息加入消息列表,标记为发送中状态
|
|
|
|
// 点发送,立即把消息加入消息列表,标记为发送中状态
|
|
|
|
|
|
|
|
curSession.lastMessage = msgCtx;
|
|
|
|
curSession.messageList.push(msgCtx);
|
|
|
|
curSession.messageList.push(msgCtx);
|
|
|
|
this.setSessionData(this.sessionData);
|
|
|
|
this.setSessionData(this.sessionData);
|
|
|
|
|
|
|
|
|
|
|
@ -400,6 +401,7 @@ class MsbIm {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
let newData = [...this.sessionData];
|
|
|
|
let newData = [...this.sessionData];
|
|
|
|
|
|
|
|
curSession.lastMessage = msgCtx;
|
|
|
|
newData[index] = curSession;
|
|
|
|
newData[index] = curSession;
|
|
|
|
this.setSessionData(newData);
|
|
|
|
this.setSessionData(newData);
|
|
|
|
if (error) {
|
|
|
|
if (error) {
|
|
|
|