src/views/SignMachineNest/MachineRight/MachineMonitor.vue
@@ -48,7 +48,7 @@ const isTakeOff = ref(false) // 监听ws消息 watch(device_osd_host, async () => { if (!device_osd_host.value.mode_code) return if (device_osd_host?.value?.mode_code === undefined) return const currentIsTakeOff = ![14, 0].includes(device_osd_host.value?.mode_code) // 如果还是之前的状态,不切换 if (isTakeOff.value === currentIsTakeOff) return