element-ui table取消高亮

it2023-04-11  76

el-table 高亮的实现是给 tr 加 current-row 类名,取消高亮:

this.$refs.tableRef.setCurrentRow(-1);
最新回复(0)