feat(用户列表-->分页组件): 新增页码,调整获取用户列表的返回数据结构
This commit is contained in:
parent
6b3c7c39d9
commit
2ce28332c8
File diff suppressed because it is too large
Load Diff
@ -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 => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user