From 7fe8cc1dff04600bffb73311ee6c6ca38a2a0e1b Mon Sep 17 00:00:00 2001 From: guoapeng Date: Sat, 21 Jun 2025 15:07:32 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=B7=A5=E8=89=BA=E7=A9=BA=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/craft/AddCraft/index.vue | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/components/craft/AddCraft/index.vue b/src/components/craft/AddCraft/index.vue index 615a518..291f1e5 100644 --- a/src/components/craft/AddCraft/index.vue +++ b/src/components/craft/AddCraft/index.vue @@ -87,15 +87,10 @@ const okHandle = async () => { if (step.params.hours || step.params.minutes || step.params.seconds) { step.params.second = (step.params.hours || 0) * 3600 + (step.params.minutes || 0) * 60 + (step.params.seconds || 0) || undefined } - else { - step.params.second = undefined - } + console.log(step.params) if (step.params.coolingHours || step.params.coolingMinutes || step.params.coolingSeconds) { step.params.coolingSecond = (step.params.coolingHours || 0) * 3600 + (step.params.coolingMinutes || 0) * 60 + (step.params.coolingSeconds || 0) || undefined } - else { - step.params.coolingSecond = undefined - } } step.params.description = `${index + 1}.` switch (step.method) {