ProTable翻页连续序号
{
title: '-',
dataIndex: 'index',
valueType: 'index',
width: 48,
fixed: 'left',
render: (dom: any, record: API.HomeWaitType, index: number) => {
return tableRef?.current?.pageInfo?.current === 1
? index + 1
: (Number(tableRef?.current?.pageInfo?.current) - 1) *
Number(tableRef?.current?.pageInfo?.pageSize) +
index +
1;
},
},