From 671487ca369b3cfed7aff68f7ca6412880ea19a6 Mon Sep 17 00:00:00 2001 From: Kinplemelon Date: Fri, 24 Sep 2021 14:27:19 +0800 Subject: [PATCH] fix(form): error func of reset fields --- packages/Form/src/form.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/Form/src/form.vue b/packages/Form/src/form.vue index 407e170..8a2ab31 100644 --- a/packages/Form/src/form.vue +++ b/packages/Form/src/form.vue @@ -19,7 +19,7 @@ export default defineComponent({ return form.value.validate() } const resetField = () => { - form.value.resetField() + form.value.resetFields() } return { form,