mirror of
https://github.com/schroinerxy/cloud-mail.git
synced 2026-06-21 19:35:50 +08:00
修复切换邮箱自动刷新错乱
This commit is contained in:
@@ -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 };
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user