import {reactive} from "vue"; const runMonitorModule = ()=>{ const runMonitorData = reactive([ { key: "airTemp", label: "空调温度", value: 0, unit: "℃" }, { key: "airHumid", label: "空调湿度", value: 0, unit: "%" }, { key: "commCount", label: "通信计数", value: 0, unit: " " }, { key: "commErrCount", label: "错误计数", value: 0, unit: " " }, { key: "recordTime", label: "记录日期", value: 0, unit: " " } ]); // 设置空调运行参数 const setRunMonitorData = (data)=>{ for(let i=0; i