refactor(Checker): refactor with composition api
This commit is contained in:
@@ -8,7 +8,13 @@ const [createComponent, bem] = createNamespace('checkbox');
|
||||
export default createComponent({
|
||||
mixins: [FieldMixin, ChildrenMixin('vanCheckbox')],
|
||||
|
||||
props: checkerProps,
|
||||
props: {
|
||||
...checkerProps,
|
||||
bindGroup: {
|
||||
type: Boolean,
|
||||
default: true,
|
||||
},
|
||||
},
|
||||
|
||||
emits: ['change', 'update:modelValue'],
|
||||
|
||||
|
||||
Reference in New Issue
Block a user