antd table 自定义行的样式

使用rowClassName来特别标识

<Table
        components={components}
        rowClassName={(record, index) => {
          return (
            record.flag ? "active":""
          )
        } }
        bordered
        dataSource={dataSource}
        columns={mergedColumns}
        showHeader={false}
        pagination={false}
      />