mirror of
https://github.com/vbenjs/vben-admin-thin-next.git
synced 2025-01-24 10:33:47 +08:00
fix(form): improve form props acquisition,fix #527
This commit is contained in:
parent
ccae5cd924
commit
b7ea68e6f8
@ -143,7 +143,9 @@
|
|||||||
defaultValueRef,
|
defaultValueRef,
|
||||||
});
|
});
|
||||||
|
|
||||||
const { transformDateFunc, fieldMapToTime, autoFocusFirstItem } = toRefs(props);
|
const { transformDateFunc, fieldMapToTime, autoFocusFirstItem } = toRefs(
|
||||||
|
unref(getProps)
|
||||||
|
) as any;
|
||||||
|
|
||||||
const { handleFormValues, initDefault } = useFormValues({
|
const { handleFormValues, initDefault } = useFormValues({
|
||||||
transformDateFuncRef: transformDateFunc,
|
transformDateFuncRef: transformDateFunc,
|
||||||
|
Loading…
Reference in New Issue
Block a user