Преглед изворни кода

1. 修改设备位置数据提取

hongrunxia пре 9 месеци
родитељ
комит
f06065f1a8

+ 1 - 1
src/views/vent/monitorManager/deviceMonitor/components/network/index.vue

@@ -403,7 +403,7 @@ function analyzePageResult(resultData){
     resultData['warns'].forEach((item => {
       const obj = {
         deviceID: item['deviceid'],
-        pos: item['pos'] != null ? item['pos'].toFixed(2) : '-', //地点
+        pos: item['pos'] != null ? item['pos'] : '-', //地点
         level: item['level'] != null ? item['level'].toFixed(2) : '-', //等级
       }
       warningDataList.push(obj)