!590 判断如果没有权限设置不进行可编辑表单过滤,避免表单变量被过滤

Merge pull request !590 from shifeng1983/master
This commit is contained in:
芋道源码
2024-11-21 01:44:49 +00:00
committed by Gitee

View File

@@ -271,7 +271,7 @@ const handleAudit = async (task, pass) => {
data.variables = approveForms.value[index].value
}
// 获取表单可编辑字段的值
if (fApi.value) {
if (fApi.value && task.fieldsPermission !== null) {
data.variables = getWritableValueOfForm(task.fieldsPermission)
}