소스 검색

传感器去掉deptid

qinhouyu 2 년 전
부모
커밋
6baedd5780
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/monitor.vue

+ 1 - 1
src/views/monitor.vue

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