From a6de16a02d0a632d6be7d527306364464d06f46c Mon Sep 17 00:00:00 2001 From: jason <2667446@qq.com> Date: Sun, 8 Dec 2024 12:22:11 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=8A=9F=E8=83=BD=E5=AE=8C=E5=96=84?= =?UTF-8?q?=E3=80=91=E6=B5=81=E7=A8=8B=E5=8F=91=E8=B5=B7=E6=97=B6=EF=BC=8C?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=B5=81=E7=A8=8B=E8=A1=A8=E5=8D=95=E7=9A=84?= =?UTF-8?q?=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../bpm/processInstance/create/ProcessDefinitionDetail.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/views/bpm/processInstance/create/ProcessDefinitionDetail.vue b/src/views/bpm/processInstance/create/ProcessDefinitionDetail.vue index 610963e1..38eebd44 100644 --- a/src/views/bpm/processInstance/create/ProcessDefinitionDetail.vue +++ b/src/views/bpm/processInstance/create/ProcessDefinitionDetail.vue @@ -179,6 +179,8 @@ const submitForm = async () => { if (!fApi.value || !props.selectProcessDefinition) { return } + // 流程表单校验 + await fApi.value.validate() // 如果有指定审批人,需要校验 if (startUserSelectTasks.value?.length > 0) { for (const userTask of startUserSelectTasks.value) {