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

pull/590/head
shifeng 2024-11-21 08:34:43 +08:00
parent 056684e291
commit 2d1b31a841
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)
}