Commit 46d16d2f authored by 彭俊龙's avatar 彭俊龙

修改台账关联表单数据混乱问题

parent 03d0646b
{
"name": "panda-xform",
"version": "6.10.25",
"description": "6.10.25 增加正数/正整数配置",
"version": "6.10.26",
"description": "6.10.26 修复关联表单ID重复问题",
"keywords": [
"panda-xform"
],
......@@ -33,6 +33,7 @@
"http-proxy-middleware": "^1.0.6",
"jspdf": "^2.5.1",
"moment": "^2.29.1",
"nrm": "^1.3.0",
"qrcode.react": "^3.1.0",
"rc-tween-one": "^3.0.6",
"react": "17.0.2",
......
......@@ -327,7 +327,7 @@ const RelationForm = (props) => {
ID: ID,
values: array
}
setDataSource([...dataSource, { ID: ID, ...obj }])
setDataSource([...dataSource, { ...obj, ID: ID }])
let relationForm = addons.getValue('relationForm') || { configs: [], data: [] }
relationForm.data.push(item)
addons.setValue('relationForm', { ...relationForm })
......
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