The problem with ant design's Table

clipboard.png
how to implement the parity line of the Table component the color is different after hover! Beg urgently! Thank you

Mar.07,2021

css control is all right.
odd


read api carefully and you will find: rowClassName :

<Tabel rowClassName={(record, index) => {
    if(index % 2 ===0) {
        return 'event class name'; //className
    } else {
        return 'odd class name'; //className
    }
}} />
Menu