Explorar o código

解决设备页面分页的bug

jishenghua hai 9 meses
pai
achega
4e606f2690
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      gyj-iot-web/src/views/iot/device/index.vue

+ 1 - 1
gyj-iot-web/src/views/iot/device/index.vue

@@ -380,7 +380,7 @@ function getList() {
     getGroupList();
     listDeviceShort(queryParams.value).then((response) => {
         deviceList.value = response.rows;
-        total.value = response.total - 1;
+        total.value = response.total;
         // 订阅消息
         if (deviceList.value && deviceList.value.length > 0) {
             mqttSubscribe(deviceList.value);