diff --git a/src/components/Form/src/components/FormItem.vue b/src/components/Form/src/components/FormItem.vue index 9ce1ccf26f53c148aed946e672e09b5ff8a00a39..c8adf9e3634a59ed78d1f4a6b2e431cf6b37af12 100644 --- a/src/components/Form/src/components/FormItem.vue +++ b/src/components/Form/src/components/FormItem.vue @@ -225,9 +225,10 @@ const eventKey = `on${upperFirst(changeEvent)}`; const on = { - [eventKey]: (e: Nullable) => { + [eventKey]: (...args: Nullable[]) => { + const [e] = args; if (propsData[eventKey]) { - propsData[eventKey](e); + propsData[eventKey](...args); } const target = e ? e.target : null; const value = target ? (isCheck ? target.checked : target.value) : e;