Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix: 元变量隐藏时父流程引用问题处理 #7508

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,7 @@
this.constantsLoading = true
const variables = Object.keys(this.subflowForms)
.map(key => this.subflowForms[key])
.filter(item => item.show_type === 'show')
.filter(item => item.show_type === 'show' || item.is_meta) // meta变量特殊处理
.sort((a, b) => a.index - b.index)

const inputs = await Promise.all(variables.map(async (variable) => {
Expand Down Expand Up @@ -777,10 +777,13 @@
}
})
}
if (variable.show_type === 'hide') {
return
}
return formItemConfig
}))
this.constantsLoading = false
return inputs
return inputs.filter(item => item)
},
/**
* 获取任务节点基础信息数据
Expand Down
Loading