fix: Listener 数据对象

main
Lei OT 4 days ago
parent 945f1b3651
commit 210d3e7263

@ -303,7 +303,7 @@ export const useEmailList = (mailboxDirNode) => {
if (isEmpty(event.data)) { if (isEmpty(event.data)) {
return false; return false;
} }
const { type, } = event.detail const { type, } = event.data
const cacheKey = isEmpty(COLI_SN) ? `dir-${VKey}` : `order-${VKey}` const cacheKey = isEmpty(COLI_SN) ? `dir-${VKey}` : `order-${VKey}`
if (type === 'listrow' && cacheKey === event.data.listKey) { if (type === 'listrow' && cacheKey === event.data.listKey) {
// cacheKey 不相同时, 不需要更新; 邮箱目录不相同 // cacheKey 不相同时, 不需要更新; 邮箱目录不相同

Loading…
Cancel
Save