From 9c491f119144c9bc536c1cf39307ad82be96b85b Mon Sep 17 00:00:00 2001 From: liukangdong <898885815@qq.com> Date: 星期五, 18 十月 2024 18:13:40 +0800 Subject: [PATCH] ll --- admin/src/views/task/index.vue | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/admin/src/views/task/index.vue b/admin/src/views/task/index.vue index 28e27df..ac5d8d1 100644 --- a/admin/src/views/task/index.vue +++ b/admin/src/views/task/index.vue @@ -165,12 +165,12 @@ }, pagination: { capacity: 10, - page: 1 + page: 1, + total: 0, }, loading: false, dataList: [], headData: {}, - total: 0, cateList: [ { name: '璁垮鐢宠', id: 0 }, @@ -268,6 +268,7 @@ }).then(res => { console.log('res', res) this.dataList = res.records || [] + this.pagination.total = res.total || 0 this.dataList.forEach(i => { i.param1 = JSON.parse(i.param1) }) -- Gitblit v1.9.3