fix: 优化步骤 9 错误处理,直接报错不再重试认证页

This commit is contained in:
QLHazyCoder
2026-04-22 20:56:49 +08:00
parent 69434d67ee
commit d50d8b5305
5 changed files with 48 additions and 54 deletions
-6
View File
@@ -200,12 +200,6 @@
break;
}
if (effect.restartCurrentStep) {
await addLog(`步骤 9${getStep8EffectLabel(effect)},准备重新定位“继续”按钮并重试...`, 'warn');
await sleepWithStop(STEP8_CLICK_RETRY_DELAY_MS);
continue;
}
if (round >= STEP8_MAX_ROUNDS) {
throw new Error(`步骤 9:连续 ${STEP8_MAX_ROUNDS} 轮点击“继续”后页面仍无反应。`);
}