<el-table
:cell-style="changeCellStyle">
  .........
</el-table>
changeCellStyle (row, column, rowIndex, columnIndex) {
   if(row.column.label === "列标题"){
       return 'color: blue'  // 修改的样式
   }else{
       return ''
   }
}
Logo

前往低代码交流专区

更多推荐