//1、点击高亮当前行(需要搭配el-table属性highlight-current-row使用)
:deep().el-table__body tr.current-row > td {
background-color: #f5f5f6 !important;
}
//2、hover高亮当前行(不需要搭配el-table属性highlight-current-row使用!!)
:deep().el-table tbody tr:hover>td {
background-color: #f5f5f6 !important;
}
el-table点击或者hover高亮当前行
于 2023-01-31 15:37:05 首次发布