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

Merge pull request !590 from shifeng1983/master
pull/585/MERGE
芋道源码 2024-11-21 01:44:49 +00:00 committed by Gitee
commit b5d99e2c75
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 1 deletions

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)
}