<Table pagination={_pagination}
columns={userColumns}
rowKey="id"
dataSource={userRoleList} />
分页
//分页
const _pagination = {
total: totol,
onChange: onChange,
showTotal: () => {
return '共 ' + totol + ' 条记录';
},
}
前端项目实战16-分页功能优化(直接绑在table上)
阅读 64
2022-08-27
<Table pagination={_pagination}
columns={userColumns}
rowKey="id"
dataSource={userRoleList} />
分页
//分页
const _pagination = {
total: totol,
onChange: onChange,
showTotal: () => {
return '共 ' + totol + ' 条记录';
},
}
相关推荐
精彩评论(0)