0
点赞
收藏
分享

微信扫一扫

[element-ui] 去掉el-table的hover变色效果

我是小小懒 2022-12-21 阅读 114


方法1:此方法适用没有设置固定列时

.el-table tbody tr:hover>td {
background-color: transparent !important;
}

方法2:此方法适用设置了固定列fixed属性后

.el-table__body .el-table__row.hover-row td{
background-color: transparent !important;
cursor: pointer;
}


举报

相关推荐

0 条评论