- 需要特定值时 样式改变:
:style="scope.row.responseStatus == 1 && 'color: red'"
2.element ui table表头样式修改
:header-cell-style="{
background: '#e7f3ff',
color: 'color: #1B1B1B;',
}"
header-row-class-name="primary-head"
:style="scope.row.responseStatus == 1 && 'color: red'"
2.element ui table表头样式修改
:header-cell-style="{
background: '#e7f3ff',
color: 'color: #1B1B1B;',
}"
header-row-class-name="primary-head"