Commit a6de16a0 by jason

【功能完善】流程发起时,增加流程表单的校验

parent 0b6af855
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment