getters.js 1.9 KB

1234567891011121314151617181920212223242526272829303132
  1. export default {
  2. storeConversationList: (state) => state.conversation.conversationList,
  3. storeCurrentConversation: (state) => state.conversation.currentConversation,
  4. storeUnReadCount: (state) => state.conversation.unReadCount,
  5. storeCurrentGroup: (state) => state.conversation.currentGroup,
  6. storeCurrentMemberInGroup: (state) => state.conversation.currentMemberInGroup,
  7. storeRevokeMap: (state) => state.conversation.revokeMap,
  8. storeFriendList: (state) => state.contact.friendList,
  9. storeBlackList: (state) => state.contact.blackList,
  10. storeGroupList: (state) => state.contact.groupList,
  11. storeRecvFriendApplications: (state) => state.contact.recvFriendApplications,
  12. storeSentFriendApplications: (state) => state.contact.sentFriendApplications,
  13. storeRecvGroupApplications: (state) => state.contact.recvGroupApplications,
  14. storeSentGroupApplications: (state) => state.contact.sentGroupApplications,
  15. storeUnHandleFriendApplicationNum: (state) =>state.contact.unHandleFriendApplicationNum,
  16. storeUnHandleGroupApplicationNum: (state) =>state.contact.unHandleGroupApplicationNum,
  17. storeHistoryMessageList: (state) => state.message.historyMessageList,
  18. storePreviewImageList: (state) => state.message.previewImageList,
  19. storeHasMoreMessage: (state) => state.message.hasMoreMessage,
  20. storeQuoteMessage: (state) => state.message.quoteMessage,
  21. storeSelfInfo: (state) => state.user.selfInfo,
  22. storeOrganizationData: (state) => state.user.organizationData,
  23. storeCurrentUserID: (state) => state.user.selfInfo.userID,
  24. storeIsSyncing: (state) => state.user.isSyncing,
  25. storeReinstall: (state) => state.user.reinstall,
  26. storeProgress: (state) => state.user.progress,
  27. storeAuthData: (state) => state.user.authData,
  28. storeCacheMap: (state) => state.user.cacheMap,
  29. storeRootFontSize: (state) => state.user.rootFontSize,
  30. timStore: (state) => state.timStore,
  31. newMsg: (state) => state.newMsg
  32. };