fix: 修改pr中698的问题

This commit is contained in:
lizhixian 2025-02-19 10:58:17 +08:00
parent b53bfbd49e
commit ee8de08103

View File

@ -700,6 +700,12 @@ const handleAudit = async (pass: boolean, formRef: FormInstance | undefined) =>
//
if (!formRef) return
await formRef.validate()
//
const valid = await validateNormalForm()
if (!valid) {
message.warning('表单校验不通过,请先完善表单!!')
return
}
if (pass) {
// ,
const variables = getUpdatedProcessInstanceVariables()