|
|
@ -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-10 11:51:45
|
|
|
|
* @LastEditTime: 2022-06-10 19:12:35
|
|
|
|
* @Description: file content
|
|
|
|
* @Description: file content
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
import { CreateUUID, FormatDate, ToAsyncAwait } from "@/common/utils";
|
|
|
|
import { CreateUUID, FormatDate, ToAsyncAwait } from "@/common/utils";
|
|
|
@ -363,6 +363,9 @@ class MsbIm {
|
|
|
|
createTimeStamp: new Date().getTime(),
|
|
|
|
createTimeStamp: new Date().getTime(),
|
|
|
|
sendStatus: 'loading',
|
|
|
|
sendStatus: 'loading',
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
if (typeof msgCtx.payload === 'string') {
|
|
|
|
|
|
|
|
msgCtx.payload = JSON.parse(msgCtx.payload)
|
|
|
|
|
|
|
|
}
|
|
|
|
// 点发送,立即把消息加入消息列表,标记为发送中状态
|
|
|
|
// 点发送,立即把消息加入消息列表,标记为发送中状态
|
|
|
|
curSession.messageList.push(msgCtx);
|
|
|
|
curSession.messageList.push(msgCtx);
|
|
|
|
// 超过时间未返回视为发送失败
|
|
|
|
// 超过时间未返回视为发送失败
|
|
|
|