Commit 4bf467ce authored by 田翔's avatar 田翔

feat: 代码优化

parent d56a80c0
{ {
"name": "panda-xform", "name": "panda-xform",
"version": "6.0.35", "version": "6.0.36",
"description": "6.0.35 新增区域任务组件", "description": "6.0.36 逻辑兼容性增强",
"keywords": [ "keywords": [
"panda-xform" "panda-xform"
], ],
......
...@@ -129,13 +129,15 @@ const XRender = (props, ref) => { ...@@ -129,13 +129,15 @@ const XRender = (props, ref) => {
configs: data?.relationForm?.configs || [], configs: data?.relationForm?.configs || [],
data: data?.relationForm?.data || [] data: data?.relationForm?.data || []
} }
let Wconfigs = window?.relationForm?.configs || []
let Wdata = window?.relationForm?.data || []
return { return {
formValue, formValue,
errors, errors,
relationForm: { relationForm: {
...data.relationForm, ...data.relationForm,
configs: [...relForm.configs, ...window?.relationForm.configs], configs: [...relForm.configs, ...Wconfigs],
data: [...relForm?.data, ...window?.relationForm.data], data: [...relForm?.data, ...Wdata],
}, },
} }
} }
......
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