An el-checkbox-group
requires that the value of the selected checkbox be put in an array. What is not selected is not in this array. The selected data will always be saved in the array
how to implement
chooseCardGrade (val){
let cardGradeList = [];
cardGradeList.push({
cardGradeId:val.id,
cardGradeName:val.name
});
console.log(cardGradeList);
},
if you write this, check it and then cancel it or in the array