bug修复

This commit is contained in:
wangdongbo 2026-02-10 15:48:49 +08:00
parent 840d26197f
commit dd9722862f
2 changed files with 12 additions and 19 deletions

View File

@ -1,5 +1,5 @@
import { ref, computed } from 'vue'
import { onShow, onUnload } from '@dcloudio/uni-app'
import { onShow, onUnload, onLoad } from '@dcloudio/uni-app'
import api from '@/utils/api.js'
import useTeamStore from '@/store/team.js'
@ -115,6 +115,7 @@ export default function useGroupChat(groupID) {
getGroupInfo()
})
onUnload(() => {
// 清理资源
})

View File

@ -883,16 +883,8 @@ onShow(() => {
timChatManager.tim &&
timChatManager.isLoggedIn &&
chatInfo.value.conversationID
) {
//
console.log("页面从后台返回,重新加载消息列表");
messageList.value = [];
isCompleted.value = false;
lastFirstMessageId.value = "";
// loadMessageList();
}
startIMMonitoring(30000);
)
startIMMonitoring(30000);
// 访
uni.$on("send-followup-message", handleSendFollowUpMessage);