element ui table 获取选中的行索引的方法:如getRowIndex()方法

mac2024-06-01  46

element ui table 获取选中的行索引的方法,直接获取的好像没有,我的解决方案是通过:

row-class-name

RowClassName({ row, rowIndex }) { //行元素,行索引 row.index = rowIndex; }
最新回复(0)