Explorar o código

摄像头参数去掉deptid

qinhouyu %!s(int64=2) %!d(string=hai) anos
pai
achega
31b3a203cc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/views/monitor.vue

+ 1 - 1
src/views/monitor.vue

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