From 8f0b40d71231a46ef75c970d8b9428d32de6a5a9 Mon Sep 17 00:00:00 2001 From: "zyx.net" Date: Thu, 8 Jun 2023 17:55:03 +0800 Subject: [PATCH] OTA --- jero-web/src/views/otamanagement/upgradeactivity/index.vue | 6 +++--- .../src/views/otamanagement/vehicleregistration/index.vue | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/jero-web/src/views/otamanagement/upgradeactivity/index.vue b/jero-web/src/views/otamanagement/upgradeactivity/index.vue index fae095e39..b0737e69a 100644 --- a/jero-web/src/views/otamanagement/upgradeactivity/index.vue +++ b/jero-web/src/views/otamanagement/upgradeactivity/index.vue @@ -392,14 +392,14 @@ export default { this.loading = true getAction('/ota/otaBaSjList/page', query).then((res) => { if (res.success) { - if (res.result.current > 1 && res.result.records.length == 0) { + if (res.result.list.current > 1 && res.result.list.records.length == 0) { this.pageNo = 1 this.getList() return } - this.dataSource = res.result.records || [] + this.dataSource = res.result.list.records || [] this.number = res.result.pjspzq - this.total = res.result.total + this.total = res.result.list.total this.loading = false } else { this.loading = false diff --git a/jero-web/src/views/otamanagement/vehicleregistration/index.vue b/jero-web/src/views/otamanagement/vehicleregistration/index.vue index 31ad46d60..527118776 100644 --- a/jero-web/src/views/otamanagement/vehicleregistration/index.vue +++ b/jero-web/src/views/otamanagement/vehicleregistration/index.vue @@ -339,14 +339,14 @@ export default { this.loading = true getAction('/ota/otaBaCxList/page', query).then((res) => { if (res.success) { - if (res.result.current > 1 && res.result.records.length == 0) { + if (res.result.list.current > 1 && res.result.list.records.length == 0) { this.pageNo = 1 this.getList() return } - this.dataSource = res.result.records || [] + this.dataSource = res.result.list.records || [] this.number = res.result.pjspzq - this.total = res.result.total + this.total = res.result.list.total this.loading = false } else { this.loading = false