Commit 2d1b31a8 by shifeng

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

parent 056684e2
......@@ -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)
}
......
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