Fork me on GitHub

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>        

 

posted @ 2022-07-19 21:58  让梓航飞  阅读(479)  评论(0)    收藏  举报