情景:例如提现列表,转账失败后转账金额直接返回用户余额,所以当前数据不可以再次操作

  直接粘贴代码:

  <el-table-column type="selection" width="55" :selectable='checkboxInit'>
methods里
  
checkboxInit(row,index){
  if (row.withdrawState==2)//这个判断根据你的情况而定
    return 0;//不可勾选
  else
    return 1;//可勾选
  },
 
结束

相关文章:

  • 2021-11-17
  • 2021-09-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-07
猜你喜欢
  • 2021-09-03
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案