element ui el-table 動態改變 單元格 的顏色

將el-table 包在自定義組件(page_table)裏面,能夠重複使用。html 1.在組件中定義 字體 <el-table :cell-style="setCellColor"></el-table> methods:{this setCellColor: function (e) { //{row,column,rowIndex,columnIndex} let obj = {};
相關文章
相關標籤/搜索