Commit d9e9229a authored by 涂伟's avatar 涂伟

fix: '1.流程中心人员设置bug修复2.xForm版本升级'

parent 6478ad6d
Pipeline #71022 passed with stages
......@@ -122,7 +122,7 @@
"js-calendar-converter": "0.0.4",
"lodash": "4.17.11",
"minimist": "1.2.0",
"panda-xform": "^3.10.6",
"panda-xform": "^4.0.2",
"prop-types": "15.7.2",
"quill": "^1.3.7",
"rc-tween-one": "^3.0.6",
......
......@@ -163,10 +163,12 @@ const RoalChoose = props => {
let list = JSON.parse(JSON.stringify(roleArr));
list.forEach(item => {
if (item.child.length) {
item.child[0].roleList.forEach(v => {
if (v.roleID === value.roleID) {
v.isChecked = e.target.checked;
}
item.child.forEach(ele => {
ele.roleList.forEach(v => {
if (v.roleID === value.roleID) {
v.isChecked = e.target.checked;
}
});
});
}
item.roleList.forEach(v => {
......
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