增加系统配置界面

序号列右对齐
流程元素名称空报错修复
This commit is contained in:
yaoyn
2024-08-01 11:07:29 +08:00
parent 63babbd93d
commit a5fc193967
9 changed files with 1246 additions and 3 deletions

View File

@ -244,6 +244,7 @@
});
bpmnModeler.on('shape.removed', (e) => {
if (e.element && e.element.id && e.element.id.includes('_label')) {
return;
let id = e.element.id.replace('_label', '');
bpmnCanvas.removedId = id;
removeProperties(id);
@ -268,9 +269,9 @@
getProperties(infoId)?.type == BpmnNodeKey.SEQUENCEFLOW) &&
!getProperties(infoId)?.name
) {
modeling.updateProperties(bpmnElement, { name: '_' });
modeling.updateProperties(bpmnElement, { name: '' });
} else {
modeling.updateProperties(bpmnElement, { name: getProperties(infoId)?.name });
modeling.updateProperties(bpmnElement, { name: getProperties(infoId)?.name });
}
}
// 更新xml中流程线参数