修复切换邮箱自动刷新错乱

This commit is contained in:
eoao
2025-11-23 13:25:41 +08:00
parent 7de9b44f79
commit 9ec5345309
4 changed files with 38 additions and 15 deletions
+9
View File
@@ -29,6 +29,7 @@ const emailService = {
size = Number(size);
emailId = Number(emailId);
timeSort = Number(timeSort);
accountId = Number(accountId);
if (size > 30) {
size = 30;
@@ -110,6 +111,14 @@ const emailService = {
emailRow.attList = atts;
});
if (!latestEmail) {
latestEmail = {
emailId: 0,
accountId: accountId,
userId: userId,
}
}
return { list, total: totalRow.total, latestEmail };
},