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 })