feature/im-0602-ch
ch 3 years ago
parent ecd5c60430
commit 653bbf90f7

@ -2,7 +2,7 @@
* @Author: ch
* @Date: 2022-05-18 14:54:47
* @LastEditors: ch
* @LastEditTime: 2022-06-13 20:56:46
* @LastEditTime: 2022-06-13 21:36:22
* @Description: file content
*/
import { CreateUUID, FormatDate, ToAsyncAwait } from "@/common/utils";
@ -280,13 +280,12 @@ class MsbIm {
if (hisIndex >= 0) {
historyData[hisIndex].lastMessage = item.lastMessage;
historyData[hisIndex].unreadCount++;
newData.push(historyData);
newData.push(historyData[hisIndex]);
} else {
item.messageList = [];
newData = [...newData, item];
}
});
this.setSessionData(newData);
return Promise.resolve(result);
}

Loading…
Cancel
Save