diff --git a/src/components/home/Tube/index.vue b/src/components/home/Tube/index.vue
index 2843bd4..e476b1d 100644
--- a/src/components/home/Tube/index.vue
+++ b/src/components/home/Tube/index.vue
@@ -52,13 +52,18 @@ const hearInfo = computed(() => {
console.log(hearInfo.value)
const craft = computed(() => {
- return systemStore.systemStatus.tray?.find(item => item.heatModuleId === props.data.moduleCode)?.crafts
+ return systemStore.systemStatus.trays?.find(item => item.heatModuleCode === props.data.moduleCode)?.crafts
})
const tray = computed(() => {
return systemStore.systemStatus.trays?.find(item => item.heatModuleCode === props.data.moduleCode)
})
+const craftSteps = computed(() => {
+ const steps = systemStore.systemStatus.trays?.find(item => item.heatModuleCode === props.data.moduleCode)?.crafts?.craft?.steps
+ return steps ? JSON.parse(steps) : undefined
+})
+
const setTemperature = () => {
emits('setTemperature', props.data.moduleCode)
}
@@ -121,6 +126,12 @@ defineExpose({
预设已暂停
预设执行错误
预设执行成功
+