摘要: <el-table :row-class-name="tableRowClassName" @selection-change="handleSelectionChange"> </el-table> methods:{ // 添加索引 tableRowClassName(row, index){ // 给每条数据添加一个索引 row.row.index = row.rowIndex }, del 阅读全文
posted @ 2019-11-04 11:13 惠鹏曦 阅读(8877) 评论(0) 推荐(3) 编辑