element-ui 一整行变色/某个单元格变色

* row 表格每一行的数据 * column 表格每一列的数据 * rowIndex 表格的行索引,不包括表头,从0开始 * columnIndex 表格的列索引,从0开始 公共的template中: <el-table :data="tableData" style="width: 100%" :row-style="isRed" @selection-change="selected">
相关文章
相关标签/搜索