diff --git a/src/components/BasicForm/src/BasicForm.vue b/src/components/BasicForm/src/BasicForm.vue index d09eca17c..a34fc9985 100644 --- a/src/components/BasicForm/src/BasicForm.vue +++ b/src/components/BasicForm/src/BasicForm.vue @@ -231,8 +231,10 @@ const submitForm = async () => { if (!validateForm) { if (props.tableData.length == 0) { message.warning('请填写明细信息!') + formLoading.value = false return } + formLoading.value = false return } // 主子表——提交请求