feat(PageContent): ✨ 增加pagination、request、parseData配置参数
This commit is contained in:
@@ -8,6 +8,12 @@ const contentConfig: IContentConfig<UserQuery> = {
|
||||
border: true,
|
||||
highlightCurrentRow: true,
|
||||
},
|
||||
pagination: {
|
||||
background: true,
|
||||
layout: "prev,pager,next,jumper,total,sizes",
|
||||
pageSize: 20,
|
||||
pageSizes: [10, 20, 30, 50],
|
||||
},
|
||||
indexAction: function (params) {
|
||||
if ("createAt" in params) {
|
||||
const createAt = params.createAt as string[];
|
||||
|
||||
Reference in New Issue
Block a user