highlight-current-row 1 2 3 4 5 6 7 8 <el-table highlight-current-row > /* 選中某行時的背景色*/ .el-table__body tr.current-row > td { color: #28A458; background: rgb(197, 213, 255) !important; } element-plus 本身有給提供這個功能,而且比第二個方法更好用,第二個方法在有列...
www.dbjr.com.cn/javascript/291544x...htm 2025-6-3