1、在html中添加 highlight-current-row属性
<el-table slot="list" :data="userManageLists" border stripe highlight-current-row > </el-table>
2、添加样式
.el-table__body tr.current-row>td { background: #FABE64 !important; }
1、在html中添加 highlight-current-row属性
<el-table slot="list" :data="userManageLists" border stripe highlight-current-row > </el-table>
2、添加样式
.el-table__body tr.current-row>td { background: #FABE64 !important; }