const columns = [
{
title: ' 序号 ',
dataIndex: 'index',
customrRender:(column:any) =>
`${(pagination.current - 1) * (pagination.pageSize) + (index + 1)}`
},
{
title: ' 名称 ',
dataIndex: 'name',
key: 'name',
},
antd table表格序号自增
最新推荐文章于 2024-05-15 11:26:12 发布