Commit 15e0e81b authored by 田翔's avatar 田翔

fix: 代码优化

parent 3b9805c6
{ {
"name": "panda-xform", "name": "panda-xform",
"version": "6.10.6", "version": "6.10.7",
"description": "6.10.6 增加是否初始调用参数", "description": "6.10.7 增加是否初始调用参数",
"keywords": [ "keywords": [
"panda-xform" "panda-xform"
], ],
......
...@@ -107,7 +107,7 @@ const XRender = (props, ref) => { ...@@ -107,7 +107,7 @@ const XRender = (props, ref) => {
const watch = useMemo(() => { const watch = useMemo(() => {
return getWatch({ schema: schemaForm, form, startTime, initField }) return getWatch({ schema: schemaForm, form, startTime, initField })
}, [schemaForm, form, startTime, initField]) }, [schemaForm, form, startTime, initField, firstCall])
const getValues = async () => { const getValues = async () => {
const info = getFieldInfo(schemaForm) const info = getFieldInfo(schemaForm)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment