vue-element-ui table获取数据index索引

首先把index通过row-class-name灌注到数据数组中,rouClassNameFn({row,rowIndex})  然后再获取就可以了

 

发表评论