From 5036880fc037e5d112206b93a729f60be12bf8ab Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期四, 07 十一月 2024 17:03:13 +0800
Subject: [PATCH] 2024.11.07 bug修复

---
 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