mirror of
https://github.com/youzan/vant.git
synced 2025-10-22 20:04:09 +00:00
feat(Form): binding checkbox
This commit is contained in:
@@ -24,7 +24,7 @@ export default createComponent({
|
||||
|
||||
getFormData() {
|
||||
return this.fields.reduce((form, field) => {
|
||||
form[field.name] = field.value;
|
||||
form[field.name] = field.formValue;
|
||||
return form;
|
||||
}, {});
|
||||
},
|
||||
|
Reference in New Issue
Block a user