yhfu hai 1 semana
pai
achega
da19b458be
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      src/views/monitor.vue

+ 2 - 1
src/views/monitor.vue

@@ -195,6 +195,7 @@ export default {
         if(res.data){
           this.sheNum = res.data.creamedCount || 0
           this.sensorNum = res.data.deviceCount || 0
+          this.enforcementNum = res.data.enforcementNum || 0;
         }
       })
       this.selectDeviceType(-1);
@@ -1207,7 +1208,7 @@ export default {
         let markersList = []
         that.visuForestCloudCameraBOList = res.data;
         that.visuForestCloudCameraBOListSearch = res.data;
-        that.enforcementNum = res.data.length;
+        // that.enforcementNum = res.data.length;
         if (!that.onZhi) {
           return
         }