Browse Source

添加好友后无提示处理

jackson 3 tháng trước cách đây
mục cha
commit
2621a84fa6
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      src/utils/imCommon.ts

+ 4 - 0
src/utils/imCommon.ts

@@ -380,6 +380,10 @@ export const initStore = () => {
   contactStore.getSendFriendApplicationListFromReq();
   contactStore.getRecvGroupApplicationListFromReq();
   contactStore.getSendGroupApplicationListFromReq();
+  setInterval(() => {
+    contactStore.getRecvFriendApplicationListFromReq();
+    contactStore.getRecvGroupApplicationListFromReq();
+  },5 * 1000)
 };
 
 export const conversationSort = (conversationList: ConversationItem[]) => {