fix: 修复设置流程默认表单时,所有节点的只读/编辑属性会出现联动编辑的bug

This commit is contained in:
gaoyunqi
2024-04-18 11:06:19 +08:00
parent 7505e62e9e
commit a5a8ba94c4

View File

@ -131,7 +131,7 @@ export const nodesAppendDefaultForm = (list: Array<FormConfigItem>) => {
if (value.type == BpmnNodeKey.START || value.type == BpmnNodeKey.USER) {
const properties = bpmnStore.getProperties(key);
if (properties) {
properties.formConfigs = [...properties.formConfigs, ...list];
properties.formConfigs = [...properties.formConfigs, ...cloneDeep(list)];
setProperties(key, properties);
}
}