You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

22 lines
662 B

export const tableConfig = {
pageField: 'page', //当前页
sizeField: 'pageSize', // 每页数量
listField: 'data', // 数据集合
totalField: 'totalCount', // 数据总数
pageFieldOffset: 1, //前端页码1开始,后端0 偏移量 1
pageSizeOptions: ['10', '20', '40'], // 分页设置种类
defaultPageSize: 10, // 默认每页数量
paramsPageSizeField: 'pageSize',
paramsPageField: 'page',
paramsOrderField: 'order',
columnActions: {
title: '操作',
width: 106,
dataIndex: 'tableAction',
fixed: 'right',
autoMergeAction: true,
autoCalcWidth: true,
actions: [],
},
scroll: { x: 'max-content' },
};