From 7b5575cdc899d1f4ac36778676ee3406c490886f Mon Sep 17 00:00:00 2001 From: guoapeng Date: Tue, 24 Jun 2025 09:57:35 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=B7=A5=E8=89=BA=E9=A2=84=E7=83=AD?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E9=80=89=E6=8B=A9=E5=8C=BA=E5=9F=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/craft/AddCraft/index.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/components/craft/AddCraft/index.vue b/src/components/craft/AddCraft/index.vue index 6bfbc06..0e577e4 100644 --- a/src/components/craft/AddCraft/index.vue +++ b/src/components/craft/AddCraft/index.vue @@ -105,7 +105,7 @@ const okHandle = async () => { step.params.description += `针头高度${step.params.height}mm抽取液体` break case 'preHeat': - step.params.description += `预热到${step.params.temperature}度` + step.params.description += `${step.params.type === 'heat' ? '加热区' : '退火区'}预热到${step.params.temperature}度` break case 'heat': step.params.description += `加热: ${step.params.temperature}度, 保持${step.params.minutes || 0}分${step.params.seconds || 0}秒` @@ -149,7 +149,7 @@ const cancel = () => { } const stepMap = { - preHeat: { name: '预热', method: 'preHeat', params: { temperature: undefined, description: undefined } }, + preHeat: { name: '预热', method: 'preHeat', params: { type: 'heat', temperature: undefined, description: undefined } }, addThin: { name: '加稀硝酸', method: 'addThin', @@ -260,6 +260,10 @@ const addStep = (data: any) => {