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

feat: 代码优化

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