Commit b7ea68e6f8944b154edf1fccd3faf8744883cbd4

Authored by Vben
1 parent ccae5cd9

fix(form): improve form props acquisition,fix #527

src/components/Form/src/BasicForm.vue
... ... @@ -143,7 +143,9 @@
143 143 defaultValueRef,
144 144 });
145 145  
146   - const { transformDateFunc, fieldMapToTime, autoFocusFirstItem } = toRefs(props);
  146 + const { transformDateFunc, fieldMapToTime, autoFocusFirstItem } = toRefs(
  147 + unref(getProps)
  148 + ) as any;
147 149  
148 150 const { handleFormValues, initDefault } = useFormValues({
149 151 transformDateFuncRef: transformDateFunc,
... ...