Skip to content

Commit

Permalink
fix(form): improve form props acquisition,fix #527
Browse files Browse the repository at this point in the history
  • Loading branch information
anncwb committed Apr 24, 2021
1 parent ccae5cd commit b7ea68e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/Form/src/BasicForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,9 @@
defaultValueRef,
});
const { transformDateFunc, fieldMapToTime, autoFocusFirstItem } = toRefs(props);
const { transformDateFunc, fieldMapToTime, autoFocusFirstItem } = toRefs(
unref(getProps)
) as any;
const { handleFormValues, initDefault } = useFormValues({
transformDateFuncRef: transformDateFunc,
Expand Down

0 comments on commit b7ea68e

Please sign in to comment.