diff --git a/background.js b/background.js index 258e4ae..adb4f24 100644 --- a/background.js +++ b/background.js @@ -4821,6 +4821,15 @@ async function requestVerificationCodeResend(step) { throw new Error(result.error); } + const currentState = await getState(); + if (currentState.mailProvider === '2925') { + const mailTabId = await getTabId('mail-2925'); + if (mailTabId) { + await chrome.tabs.update(mailTabId, { active: true }); + await addLog(`步骤 ${step}:已切换到 2925 邮箱标签页等待新邮件。`, 'info'); + } + } + return Date.now(); }