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) => {