diff --git a/src/views/home/index.vue b/src/views/home/index.vue index ded3697..e5a7482 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -89,6 +89,10 @@ const executeCraftHandle = async () => { const setTemperatureVisible = ref(false) const currentTemperatureId = ref('') const setTemperature = (id: string) => { + const craft = systemStore.systemStatus.tray?.find(item => item.heatModuleId === id)?.crafts + if (craft?.craft) { + FtMessage.warning(`当前加热区已绑定工艺`) + } currentTemperatureId.value = id setTemperatureVisible.value = true }