diff --git a/im-uniapp/App.vue b/im-uniapp/App.vue index df3332c..afd6fa9 100644 --- a/im-uniapp/App.vue +++ b/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);