Commit b5d99e2c by 芋道源码 Committed by Gitee

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

Merge pull request !590 from shifeng1983/master
parents 056684e2 2d1b31a8
...@@ -271,7 +271,7 @@ const handleAudit = async (task, pass) => { ...@@ -271,7 +271,7 @@ const handleAudit = async (task, pass) => {
data.variables = approveForms.value[index].value data.variables = approveForms.value[index].value
} }
// 获取表单可编辑字段的值 // 获取表单可编辑字段的值
if (fApi.value) { if (fApi.value && task.fieldsPermission !== null) {
data.variables = getWritableValueOfForm(task.fieldsPermission) data.variables = getWritableValueOfForm(task.fieldsPermission)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment