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.
 
 
 
 
 
 

24 lines
726 B

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