Skip to content

Commit b5d99e2

Browse files
YunaiVgitee-org
authored andcommitted
!590 判断如果没有权限设置不进行可编辑表单过滤,避免表单变量被过滤
Merge pull request !590 from shifeng1983/master
2 parents 056684e + 2d1b31a commit b5d99e2

File tree

1 file changed

+1
-1
lines changed
  • src/views/bpm/processInstance/detail

1 file changed

+1
-1
lines changed

src/views/bpm/processInstance/detail/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ const handleAudit = async (task, pass) => {
271271
data.variables = approveForms.value[index].value
272272
}
273273
// 获取表单可编辑字段的值
274-
if (fApi.value) {
274+
if (fApi.value && task.fieldsPermission !== null) {
275275
data.variables = getWritableValueOfForm(task.fieldsPermission)
276276
}
277277

0 commit comments

Comments
 (0)