fix: [BPM 工作流] bug 修复

pull/165/head
jason 2025-07-04 19:52:34 +08:00
parent 7fca077296
commit 23a503d84b
2 changed files with 3 additions and 3 deletions

View File

@ -126,7 +126,8 @@ function updateModel() {
name: '发起人',
type: BpmNodeTypeEnum.START_USER_NODE,
id: NodeId.START_USER_NODE_ID,
showText: '默认配置',
//
showText: '',
childNode: {
id: NodeId.END_EVENT_NODE_ID,
name: '结束',

View File

@ -657,8 +657,7 @@ async function validateNormalForm() {
function getUpdatedProcessInstanceVariables() {
const variables: any = {};
props.writableFields.forEach((field: string) => {
if (field && variables[field])
variables[field] = props.normalFormApi.getValue(field);
variables[field] = props.normalFormApi.getValue(field);
});
return variables;
}