提交 b7ea68e6 作者: Vben

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

上级 ccae5cd9
...@@ -143,7 +143,9 @@ ...@@ -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,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论