From 1fb6c77f34a091dc57b9934537bda72e23ba73b5 Mon Sep 17 00:00:00 2001 From: Dawn <2439646234@qq.com> Date: Fri, 31 Oct 2025 11:25:47 +0800 Subject: [PATCH] perf(common): :zap: optimize session lists and chat stores --- src/App.vue | 2 +- src/components/fileManager/FileContent.vue | 5 +- src/components/rightBox/ApplyList.vue | 6 +- src/hooks/useReplaceMsg.ts | 5 +- .../left/components/definePlugins/Card.vue | 3 +- .../left/components/definePlugins/List.vue | 3 +- src/mobile/components/my/MobileApplyList.vue | 6 +- src/plugins/dynamic/index.vue | 7 +- src/stores/chat.ts | 155 +++++++++++++----- src/stores/fileDownload.ts | 3 +- src/utils/UnreadCountManager.ts | 12 +- src/views/Notify.vue | 3 +- 12 files changed, 142 insertions(+), 68 deletions(-) diff --git a/src/App.vue b/src/App.vue index b68600e7..0438c09b 100644 --- a/src/App.vue +++ b/src/App.vue @@ -291,7 +291,7 @@ useMitt.on(WsResponseMessageType.INVALID_USER, (param: { uid: string }) => { console.log('无效用户') const data = param // 消息列表删掉拉黑的发言 - chatStore.filterUser(data.uid) + // chatStore.filterUser(data.uid) // 群成员列表删掉拉黑的用户 groupStore.removeUserItem(data.uid) }) diff --git a/src/components/fileManager/FileContent.vue b/src/components/fileManager/FileContent.vue index cd11b9fc..4ddd5833 100644 --- a/src/components/fileManager/FileContent.vue +++ b/src/components/fileManager/FileContent.vue @@ -86,6 +86,7 @@