feat(用户列表-->分页组件): 新增页码,调整获取用户列表的返回数据结构

This commit is contained in:
hzj 2026-03-13 16:23:16 +08:00
parent 6b3c7c39d9
commit 2ce28332c8
2 changed files with 419 additions and 379 deletions

File diff suppressed because it is too large Load Diff

View File

@ -540,10 +540,10 @@
<!-- 分页 -->
<pagination
:total="9999999999999999999"
:total="total"
:page.sync="listQuery.pageIndex"
:limit.sync="listQuery.pageSize"
layout="prev,next,sizes"
layout="prev,pager,next,sizes"
@pagination="renderData"
/>
@ -926,7 +926,8 @@ export default {
getUserTable(that.listQuery)
.then(res => {
const { body } = res;
that.list = body || [];
that.total = body.total || 0;
that.list = body.records || [];
that.searchLoading = that.listLoading = false;
})
.catch(er => {