{{ row[item.prop] }} cellDoubleClice: false, cellRowIndex: null, cellLabel:'' // 遍历出所有表格行的回调函数 tableRowClassName({ row, rowIndex }) { // 给row添加索引 row.row_index = rowIndex; }, // 双击事件触发的函数 cellDblclick(row, column, cell, event) this.cellDoubleClice = event.bubbles; // 用列字段名称作为列的唯一标识 this.cellLabel=column.label // 获取点击单元格的行索引 this.cellRowIndex = row.row_index; }, 如何修改v-if绑定的条件,实现只有某几个字段可编辑。