el-table 修改高亮行样式
html
<el-table ref='table' :data="tableData" highlight-current-row></el-table>
- 修改样式
css
::v-deep .el-table__body tr.current-row > td {
background: #e1e1e1 !important;
color: #000 !important;
}