refactor: 分页响应数据结构调整
This commit is contained in:
@@ -68,12 +68,8 @@ const contentConfig: IContentConfig<DemoQueryParams, DemoItem> = {
|
||||
const end = start + pageSize;
|
||||
|
||||
return Promise.resolve({
|
||||
data: list.slice(start, end),
|
||||
page: {
|
||||
pageNum,
|
||||
pageSize,
|
||||
total: list.length,
|
||||
},
|
||||
list: list.slice(start, end),
|
||||
total: list.length,
|
||||
});
|
||||
},
|
||||
modifyAction(data) {
|
||||
|
||||
Reference in New Issue
Block a user