From 210d3e72637f8758252c942bdec296af18ae1846 Mon Sep 17 00:00:00 2001 From: Lei OT Date: Thu, 26 Jun 2025 11:01:34 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20Listener=20=E6=95=B0=E6=8D=AE=E5=AF=B9?= =?UTF-8?q?=E8=B1=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/hooks/useEmail.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/useEmail.js b/src/hooks/useEmail.js index 99822e6..3b5342c 100644 --- a/src/hooks/useEmail.js +++ b/src/hooks/useEmail.js @@ -303,7 +303,7 @@ export const useEmailList = (mailboxDirNode) => { if (isEmpty(event.data)) { return false; } - const { type, } = event.detail + const { type, } = event.data const cacheKey = isEmpty(COLI_SN) ? `dir-${VKey}` : `order-${VKey}` if (type === 'listrow' && cacheKey === event.data.listKey) { // cacheKey 不相同时, 不需要更新; 邮箱目录不相同