element ui table 获取选中的行索引的方法,直接获取的好像没有,我的解决方案是通过:
row-class-name
RowClassName({ row, rowIndex }) { //行元素,行索引
row.index = rowIndex;
}
element ui table 获取选中的行索引的方法,直接获取的好像没有,我的解决方案是通过:
row-class-name
RowClassName({ row, rowIndex }) { //行元素,行索引
row.index = rowIndex;
}