From f46786f11c5c08ead7501a82e5a71430ad69b782 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期日, 27 四月 2025 17:39:24 +0800
Subject: [PATCH] 修复线索问题定位错误问题
---
pages/inspection/scene/info/index.js | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/pages/inspection/scene/info/index.js b/pages/inspection/scene/info/index.js
index 660b5db..b80d78d 100644
--- a/pages/inspection/scene/info/index.js
+++ b/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);
+ });
}
});
},
--
Gitblit v1.9.3