<Table
//key
rowKey="id"
//数据
dataSource={data}
columns={columns}
//loading
loading={loading}
//宽度
scroll={{
x: 1600,
}}
//分页
pagination={{
pageSize: 5,
total: count,
onChange
}}
/>;
{
title: '操作',
//居中
align: 'center',
//在右边悬浮
fixed: 'right',
width: 200,
render: ({ id }) => {
return (
<div styleName='blue'>
<span onClick={() => { yeply(id) }}>回复</span>
<span onClick={() => { del(id) }}>删除</span>
</div>
);
},
},
809

被折叠的 条评论
为什么被折叠?



