Skip to content

Commit

Permalink
fix: 元变量隐藏时父流程引用问题处理 --bug=118142098
Browse files Browse the repository at this point in the history
# Reviewed, transaction id: 10421
  • Loading branch information
ywywZhou committed Jun 24, 2024
1 parent 62013fd commit 2bbd91b
Showing 1 changed file with 5 additions and 2 deletions.
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

0 comments on commit 2bbd91b

Please sign in to comment.