Skip to content

Commit ee8de08

Browse files
committed
fix: 修改pr中698的问题
1 parent b53bfbd commit ee8de08

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -700,6 +700,12 @@ const handleAudit = async (pass: boolean, formRef: FormInstance | undefined) =>
700700
// 校验表单
701701
if (!formRef) return
702702
await formRef.validate()
703+
//校验流程表单必填字段
704+
const valid = await validateNormalForm()
705+
if (!valid) {
706+
message.warning('表单校验不通过,请先完善表单!!')
707+
return
708+
}
703709
if (pass) {
704710
// 获取修改的流程变量, 暂时只支持流程表单
705711
const variables = getUpdatedProcessInstanceVariables()

0 commit comments

Comments
 (0)