From 6a3da2a53797f8a704aa45a43764ebbc59313158 Mon Sep 17 00:00:00 2001 From: Lei OT Date: Fri, 27 Jun 2025 15:54:59 +0800 Subject: [PATCH] # --- src/stores/EmailSlice.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/stores/EmailSlice.js b/src/stores/EmailSlice.js index 4974e81..d862837 100644 --- a/src/stores/EmailSlice.js +++ b/src/stores/EmailSlice.js @@ -139,7 +139,12 @@ const emailSlice = (set, get) => ({ return false }, - // 更新数量 + /** + * 更新数量 + * @usage 1. 邮件列表页切换用户时 + * @usage 2. 收到新邮件推送时 + * + */ updateMailboxCount: async ({ opi_sn }) => { // const { setMailboxNestedDirsActive } = get() await getMailboxCountAction({ opi_sn })