From b4033c002e21c1376d68be61622da56182a962e9 Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期三, 14 八月 2024 15:19:52 +0800 Subject: [PATCH] 修复设备信息表单生产失败 --- pages/inspection/scene/info/index.js | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/pages/inspection/scene/info/index.js b/pages/inspection/scene/info/index.js index afaca46..b80d78d 100644 --- a/pages/inspection/scene/info/index.js +++ b/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); + }); } }); }, -- Gitblit v1.9.3