diff --git a/src/views/clientDownFile/downrecord/index.vue b/src/views/clientDownFile/downrecord/index.vue index 69c992f5..287e7ade 100644 --- a/src/views/clientDownFile/downrecord/index.vue +++ b/src/views/clientDownFile/downrecord/index.vue @@ -136,7 +136,7 @@ export default { .then((res) => { console.log(res); this.recordData = res.data.content; - this.total = res.data.totalPages; + this.total = res.data.totalElements; }) .catch((err) => { console.log(err); //代码错误、请求失败捕获 diff --git a/src/views/dataTransfer/downrecord/index.vue b/src/views/dataTransfer/downrecord/index.vue index 84eada11..b69539ab 100644 --- a/src/views/dataTransfer/downrecord/index.vue +++ b/src/views/dataTransfer/downrecord/index.vue @@ -33,7 +33,7 @@ {{ scope.row.id }} --> - + @@ -135,7 +135,7 @@ export default { .then((res) => { console.log(res); this.recordData = res.data.content; - this.total = res.data.totalPages; + this.total = res.data.totalElements; }) .catch((err) => { console.log(err); //代码错误、请求失败捕获