diff --git a/src/views/enterprise/enterprise/index.vue b/src/views/enterprise/enterprise/index.vue
index 74787a8..42e6fd5 100644
--- a/src/views/enterprise/enterprise/index.vue
+++ b/src/views/enterprise/enterprise/index.vue
@@ -240,28 +240,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/fence/fence/index.vue b/src/views/fence/fence/index.vue
index 32bdcbe..784f28d 100644
--- a/src/views/fence/fence/index.vue
+++ b/src/views/fence/fence/index.vue
@@ -173,8 +173,8 @@ export default {
getList() {
this.loading = true;
listFence(this.queryParams).then(response => {
- this.fenceList = response.rows;
- this.total = response.total;
+ this.fenceList = response.data.rows;
+ this.total = response.data.total;
this.loading = false;
});
},
diff --git a/src/views/vehicle/vehicle/index.vue b/src/views/vehicle/vehicle/index.vue
index d17f53a..d65937f 100644
--- a/src/views/vehicle/vehicle/index.vue
+++ b/src/views/vehicle/vehicle/index.vue
@@ -314,8 +314,8 @@ export default {
getList() {
this.loading = true;
listVehicle(this.queryParams).then(response => {
- this.vehicleList = response.rows;
- this.total = response.total;
+ this.vehicleList = response.data.rows;
+ this.total = response.data.total;
this.loading = false;
});
},