pages/inspection/scene/info/index.js
@@ -5,12 +5,12 @@ data: { // 场景基本信息 scene:{}, // 监测设备信息 monitorDevices:[], // 治理设备信息 treatmentDevices:[], // 生产设备信息 productionDevices:[], // // 监测设备信息 // monitorDevices:[], // // 治理设备信息 // treatmentDevices:[], // // 生产设备信息 // productionDevices:[], }, onLoad(options) { @@ -19,9 +19,10 @@ this.setData({ scene: data.scene, }); [0, 1, 2].forEach(e => { this.fetchDeviceInfo(e); }); // [0, 1, 2].forEach(e => { // this.fetchDeviceInfo(e); // }); this.fetchAllDeviceInfo(); } }); },