需求:某一列单元格为1的值,背景色填充为橘色
实现效果:
实现方法:使用table提供的:cell-style=“cellStyle”
具体代码:
<el-table
:data="tableData"
border
stripe
:cell-style="cellStyle"
>
cellStyle(row
需求:某一列单元格为1的值,背景色填充为橘色
实现效果:
实现方法:使用table提供的:cell-style=“cellStyle”
具体代码:
<el-table
:data="tableData"
border
stripe
:cell-style="cellStyle"
>
cellStyle(row