这是表格的基本使用
<Table dataSource={dataSource} columns={columns} />;
修改表头的样式
.ant-table-thead>tr>th {
color: #fff;
background: red;
}
修改列表的样式
.ant-table-tbody>tr>td {
color: #fff;
background-color: red;
}
修改列表行hover样式
.ant-table-tbody>tr:hover:not(.ant-table-expanded-row):not(.ant-table-row-selected)>td {
background: #CAE0F3;
}