columns: [
{
title: "序号",
dataIndex: "key",
key: "key",
align: "center",
customRender: ({text,record,index}) =>`${index+1}`,
},
],
a-table增加序号列
最新推荐文章于 2024-05-15 11:26:12 发布
columns: [
{
title: "序号",
dataIndex: "key",
key: "key",
align: "center",
customRender: ({text,record,index}) =>`${index+1}`,
},
],