1. 程式人生 > >點擊批量操作選中什麽表格相應的就會被選中

點擊批量操作選中什麽表格相應的就會被選中

confirm others for The tst 表格 == fir check

  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{
}
});

}

點擊批量操作選中什麽表格相應的就會被選中