//修改高亮 .el-table--striped .el-table__body tr.el-table__row--striped.current-row td, .el-table__body tr.current-row>td { color: #363636; background-color: #fbec88!important; } //修改表头错位 body .el-table th.gutter{ display: table-cell!important; } body .el-table colgroup.gutter{ display: table-cell!important; }
注意:要放在全局style里面