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