element-ui表格的selectable属性使用
<el-table-column
type="selection"
:reserve-selection="true"
:selectable="checkInit"
width="55"
></el-table-column>
:reserve-selection 为true设置换行保留之前的数据
:selectable 设置是否禁用复选按钮
checkInit(row) {
if (条件) {
return false; //可选
} else {
return true;//不可选
}
},