table的第一行和第一列设置样式
.test_table td:first-child { font-weight: bold; } .test_table th { font-weight: bold; }
<div className={styles.test_table} >
<Table
columns={[...partInfoHeader]}
dataSource={[...partInfoDataSource]}
bordered
pagination={false}
scroll={{
x: 1300,
}}
/>
</div>

浙公网安备 33010602011771号