原因:
可编辑表格列表没有写 :edit-render 导致框架不能识别
如果想要某列不可编辑可以使用 activeMethod 来禁用某一列而不是直接不写 :edit-render
:edit-config="{trigger: 'click', mode: 'cell',showStatus: true,activeMethod: activeCellMethod}">
activeCellMethod ({ column, columnIndex }) {
if (columnIndex === 4 || columnIndex === 3) {
return false
}
return true