Vue+elementUI data update style confusion

set the row style to el-table with row-class-name. The row style rendering is chaotic after the data is updated. Do you need to update the row style in the callback with Vue.nextTick ()? if so, how to update the dynamic style: row-class-name= "tableRowClassName" in the callback?

<el-table :data="tableList" :row-class-name="tableRowClassName">...</el-table>

<script>
    tableRowClassName({row, rowIndex}) {
        if (row.type === 2) {
            return "success-row";
        }
        return "";
    },
    getList(){
        axios.post("/getList", {
            uid: this.uid
        })
        .then(function (response) {
            console.log(response);
            this.tableList = response.data.dataList
        })
        .catch(function (error) {
            console.log(error);
        });
    }
</script>
Apr.22,2021

directly: row-class-name= "row.type = 2? 'success-row':' 'try

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-1e4c91c-44ebc.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-1e4c91c-44ebc.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?