Skip to content

Commit

Permalink
fix(form): error func of reset fields
Browse files Browse the repository at this point in the history
  • Loading branch information
Kinplemelon authored and ysfscream committed Sep 24, 2021
1 parent c55a7e6 commit 671487c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/Form/src/form.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default defineComponent({
return form.value.validate()
}
const resetField = () => {
form.value.resetField()
form.value.resetFields()
}
return {
form,
Expand Down

0 comments on commit 671487c

Please sign in to comment.