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

This commit is contained in:
Vben 2021-04-24 20:27:01 +08:00
parent ccae5cd924
commit b7ea68e6f8

View File

@ -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,