pages/inspection/scene/info/index.js
@@ -1,8 +1,7 @@ import { useDeviceList } from './devicelist-proxy.js'; import { useDeviceLocation } from './device-location-proxy.js'; Page({ behaviors: [useDeviceList, useDeviceLocation], behaviors: [useDeviceList], data: { // 场景基本信息 scene:{}, @@ -20,6 +19,9 @@ this.setData({ scene: data.scene, }); [0, 1, 2].forEach(e => { this.fetchDeviceInfo(e); }); } }); },