Parcourir la source

fix: 断线重连失败的bug

xsx il y a 2 mois
Parent
commit
922cbefaa6
1 fichiers modifiés avec 1 ajouts et 2 suppressions
  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);