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