riku
2024-08-13 1a0e4972f80278bfa9e53283374b745b6c968341
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);
        });
      }
    });
  },