riku
2024-08-14 b4033c002e21c1376d68be61622da56182a962e9
pages/inspection/scene/info/index.js
@@ -1,11 +1,10 @@
import { useDeviceList } from './devicelist-proxy.js';
import { useDeviceLocation } from './device-location-proxy.js';
Page({
  behaviors: [useDeviceList, useDeviceLocation],
  behaviors: [useDeviceList],
  data: {
    // 场景基本信息
    sceneInfo:{},
    scene:{},
    // 监测设备信息
    monitorDevices:[],
    // 治理设备信息
@@ -20,6 +19,9 @@
        this.setData({
          scene: data.scene,
        });
        [0, 1, 2].forEach(e => {
          this.fetchDeviceInfo(e);
        });
      }
    });
  },