fix: 修复设置流程默认表单时,所有节点的只读/编辑属性会出现联动编辑的bug
This commit is contained in:
@ -131,7 +131,7 @@ export const nodesAppendDefaultForm = (list: Array<FormConfigItem>) => {
|
|||||||
if (value.type == BpmnNodeKey.START || value.type == BpmnNodeKey.USER) {
|
if (value.type == BpmnNodeKey.START || value.type == BpmnNodeKey.USER) {
|
||||||
const properties = bpmnStore.getProperties(key);
|
const properties = bpmnStore.getProperties(key);
|
||||||
if (properties) {
|
if (properties) {
|
||||||
properties.formConfigs = [...properties.formConfigs, ...list];
|
properties.formConfigs = [...properties.formConfigs, ...cloneDeep(list)];
|
||||||
setProperties(key, properties);
|
setProperties(key, properties);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user