From 237980037bf4b19f7654fd5859fe26b94365adfc Mon Sep 17 00:00:00 2001 From: QLHazyCoder <2825305047@qq.com> Date: Wed, 8 Apr 2026 17:45:19 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96=E8=B7=B3=E8=BF=87?= =?UTF-8?q?=E6=AD=A5=E9=AA=A4=E9=80=BB=E8=BE=91=EF=BC=8C=E7=A1=AE=E4=BF=9D?= =?UTF-8?q?=E6=AD=A5=E9=AA=A4=201=20=E8=B7=B3=E8=BF=87=E6=97=B6=E5=90=8C?= =?UTF-8?q?=E6=97=B6=E8=B7=B3=E8=BF=87=E6=AD=A5=E9=AA=A4=202?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- background.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/background.js b/background.js index 781871a..2aa9dd0 100644 --- a/background.js +++ b/background.js @@ -666,6 +666,16 @@ async function skipStep(step) { await setStepStatus(step, 'skipped'); await addLog(`步骤 ${step} 已跳过`, 'warn'); + + if (step === 1) { + const latestState = await getState(); + const step2Status = latestState.stepStatuses?.[2]; + if (!isStepDoneStatus(step2Status) && step2Status !== 'running') { + await setStepStatus(2, 'skipped'); + await addLog('步骤 1 已跳过,步骤 2 也已同时跳过。', 'warn'); + } + } + return { ok: true, step, status: 'skipped' }; }