点击批量操做选中什么表格相应的就会被选中

  confirm(){console.log(this.trainStatus);let checkbox=$("#checkboxs input[type='checkbox']");this.sampleList.forEach(v=>{  if(v.status==true){    v.trainStatus=checkbox[0].checked;    v.testStatus=checkbox[1].checked;    v.otherStatus=checkbox[2].checked;  }else{  }});}
相关文章
相关标签/搜索