vue中使用elementui里的table时 checkBox不被选中设置

<el-table-column type="selection" width="55" :selectable='checkboxInit'>

 
methods里
  
checkboxInit(row,index){
  if (row.withdrawState==2)//这个判断根据你的情况而定
    return 0;//不可勾选
  else
    return 1;//可勾选
  },
原文地址:https://www.cnblogs.com/shuihanxiao/p/12408506.html