Ticker

6/recent/ticker-posts

Ad Code

Responsive Advertisement

vue中引入elementui ,:row-class-name失效不起作用

在网上看到了解决办法,提到在style中去掉scoped,但我去掉了还是没有生效

tableRowClassName({ row }){
        if(row.isExpire===0){
consolo.log(11112222)
        return 'warningrow'
      }
    },
<style>
.el-table .waringrow{
  color: red !important;
}
</style>

11112222都能输出,有没有大佬知道是什么问题。。。。

Enregistrer un commentaire

0 Commentaires