1.在tabel標簽中綁定 :cell-style="cellStyle" 2.在methods中定義cellStyle方法 cellStyle(row, column, rowIndex, columnIndex) { if (row.column.label == "事件告警信息" || row.column.label == "性能告警信息" ) { return "color:#FF747B"; } if(row.column.label == "系統狀態" && row.row.equStatus == "正常" ){ return "color:#08AD2B"; } if(row.column.label == "均衡狀態" && row.row.equStatus == "正常" ){ return "color:#08AD2B"; } },

