perf: email list 字段不需要重命名

dev/ckeditor
Lei OT 3 weeks ago
parent 0860a7054d
commit 1e9f84665e

@ -144,11 +144,6 @@ export const useEmailList = (mailboxDirNode) => {
const _x = readCache.data.map((ele) => ({
...ele,
key: ele.MAI_SN,
title: ele.MAI_Subject,
description: ele.SenderReceiver,
mailDate: ele.SRDate,
orderNo: ele.MAI_COLI_ID || '',
country: ele.CountryCN || '',
}))
setMailList(_x)
}
@ -159,11 +154,6 @@ export const useEmailList = (mailboxDirNode) => {
const _x = x.map((ele) => ({
...ele,
key: ele.MAI_SN,
title: ele.MAI_Subject,
description: ele.SenderReceiver,
mailDate: ele.SRDate,
orderNo: ele.MAI_COLI_ID || '',
country: ele.CountryCN || '',
}))
setMailList(_x)
} catch (networkError) {

Loading…
Cancel
Save