bug修复
This commit is contained in:
parent
840d26197f
commit
dd9722862f
@ -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(() => {
|
||||
// 清理资源
|
||||
})
|
||||
|
||||
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user