JX.LI 1 năm trước cách đây
mục cha
commit
f77b5fb0c1
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/views/monitor.vue

+ 1 - 1
src/views/monitor.vue

@@ -472,7 +472,7 @@
       //传感器2
       getMonitorDeviceAndDataLists() {
         let that = this
-        getMonitorDeviceAndDataList(null).then((res) => {
+        getMonitorDeviceAndDataList(that.deptId).then((res) => {
           that.sensorNum = res.data.length
         })
       },