浏览代码

fix: 断线重连失败的bug

xsx 2 月之前
父节点
当前提交
922cbefaa6
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      im-uniapp/App.vue

+ 1 - 2
im-uniapp/App.vue

@@ -443,8 +443,7 @@ export default {
 					icon: 'none'
 				})
 				// 加载离线消息
-				this.pullPrivateOfflineMessage(this.chatStore.privateMsgMaxId);
-				this.pullGroupOfflineMessage(this.chatStore.groupMsgMaxId);
+				this.pullOfflineMessage();
 				this.configStore.setAppInit(true);
 			}).catch((e) => {
 				console.log(e);