diff --git a/src/views/renwu/components/pop-gift-list.vue b/src/views/renwu/components/pop-gift-list.vue index cb8863e..54ea401 100644 --- a/src/views/renwu/components/pop-gift-list.vue +++ b/src/views/renwu/components/pop-gift-list.vue @@ -139,7 +139,7 @@ export default { limit: this.limit, }); this.tableData = data.data.records; - this.total = data.data.total; + this.total = data.data.totalCount; }, del(item) { this.$confirm("是否删除该任务?", "提示", { diff --git a/src/views/renwu/index.vue b/src/views/renwu/index.vue index 12d14d8..795b070 100644 --- a/src/views/renwu/index.vue +++ b/src/views/renwu/index.vue @@ -118,8 +118,8 @@ export default { this.$message.error(res.data.msg || '修改失败') } }, - handleSizeChange() { - this.page = 1; + handleSizeChange(limit) { + this.limit = limit; this.init(); }, handleCurrentChange(val) { @@ -141,7 +141,7 @@ export default { limit: this.limit, }); this.tableData = data.data.records; - this.total = data.data.total; + this.total = data.data.totalCount; }, del(item) { this.$confirm("是否删除该任务?", "提示", { diff --git a/src/views/riderTop/riderTop.vue b/src/views/riderTop/riderTop.vue index 35ba3d8..0ae00c5 100644 --- a/src/views/riderTop/riderTop.vue +++ b/src/views/riderTop/riderTop.vue @@ -57,7 +57,7 @@
+ layout="total,sizes, prev, pager, next,jumper" :total="homeData.totalCount">