Przeglądaj źródła

监控中心云广播显示问题

wang_xy 2 lat temu
rodzic
commit
265227bd5a
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      src/views/monitor.vue

+ 2 - 2
src/views/monitor.vue

@@ -366,7 +366,7 @@
       //传感器2
       getMonitorDeviceAndDataLists() {
         let that = this;
-        getMonitorDeviceAndDataList(this.deptId).then((res) => {
+        getMonitorDeviceAndDataList(that.deptId).then((res) => {
           that.sensorNum = res.data.length;
         });
       },
@@ -485,7 +485,7 @@
         let markersList = [];
         getDlblistBydeptId(that.deptId)
           .then(function(res) {
-            that.loudspeakerNum = res.data.length;
+            // that.loudspeakerNum = res.data.length;
             that.visuForestCloudCameraBOListSearch = [];
             that.visuForestCloudCameraBOList=[];
             if (res.data != null && res.data.length > 0) {