Skip to content

Commit

Permalink
feat: 格式化代码
Browse files Browse the repository at this point in the history
  • Loading branch information
huxinhai committed Sep 23, 2024
1 parent b136290 commit 900eb10
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/checkbox-group/checkbox-group.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,12 +129,12 @@ export default class CheckBoxGroup extends SuperComponent {
value: item,
checked: value?.includes(item),
}
: {
...item,
label:item[keys?.label ?? 'label'],
value: item[keys?.value?? 'value'],
checked: value?.includes(item[keys?.value?? 'value']),
};
: {
...item,
label: item[keys?.label ?? 'label'],
value: item[keys?.value ?? 'value'],
checked: value?.includes(item[keys?.value ?? 'value']),
};
});

this.setData({
Expand Down

0 comments on commit 900eb10

Please sign in to comment.