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
    }
}} />
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e8864a-68641.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e8864a-68641.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?