rowClassName={(record, index) => {
let className = 'odd';
if (index % 2 === 1) className = 'even';
return className;
}}
rowClassName:Table行的类名
record:当前行数据
index:行序号
rowClassName={(record, index) => {
let className = 'odd';
if (index % 2 === 1) className = 'even';
return className;
}}
rowClassName:Table行的类名
record:当前行数据
index:行序号
下一篇:UVA 10159
用css写一个好玩的不停弹跳变形的圆。
今天分享的是一个旋转的金币,适用于游戏网站,会员币等场景。
个人理解
表格的高级应用 ID gender name 01 male John ...
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M