后台数据进行循环渲染
<el-checkbox-group v-model="checkval">
<el-checkbox
v-for="(item, index) in duoxvan"
:key="index"
:label="item.tSystemRole.fullName"
@change="xgks(item)"
>{ { item.tSystemRole.fullName }}</el-checkbox
>
</el-checkbox-group>
原始的确定数据
this.duoxvan.map((it, index) => {
if (it.id != null) {
add.push(it.tSystemRole.fullName);
arr.push(it);