Commit 570ae465 authored by 田翔's avatar 田翔

fix: 代码优化

parent 15e0e81b
{ {
"name": "panda-xform", "name": "panda-xform",
"version": "6.10.7", "version": "6.10.8",
"description": "6.10.7 增加是否初始调用参数", "description": "6.10.8 增加是否初始调用参数",
"keywords": [ "keywords": [
"panda-xform" "panda-xform"
], ],
......
...@@ -30,7 +30,7 @@ const XRender = (props, ref) => { ...@@ -30,7 +30,7 @@ const XRender = (props, ref) => {
const { formJson, values } = schemaValues const { formJson, values } = schemaValues
const { getPrefixCls } = useContext(ConfigProvider.ConfigContext) const { getPrefixCls } = useContext(ConfigProvider.ConfigContext)
const pandaXform = getPrefixCls() const pandaXform = getPrefixCls()
const startTime = firstCall ? 0 : new Date().getTime() const [startTime, setStartTime] = useState(firstCall ? 0 : new Date().getTime())
const [initField, setInitField] = useState([]) const [initField, setInitField] = useState([])
const form = useForm() const form = useForm()
......
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