From 404cafaa3af6b7b3356c8a2f8089445ac7912690 Mon Sep 17 00:00:00 2001 From: wangyufei <2267742828@qq.com> Date: Mon, 29 Jul 2024 15:20:15 +0800 Subject: [PATCH] =?UTF-8?q?bug=EF=BC=9A=E8=BF=99=E4=B8=AA=E5=AD=98?= =?UTF-8?q?=E5=9C=A8=EF=BC=8C=E5=AF=BC=E8=87=B4=E9=A1=B5=E9=9D=A2=E4=B8=AD?= =?UTF-8?q?=E6=8E=A7=E5=88=B6loading=E6=97=A0=E6=95=88--=E5=A6=82=E5=8F=91?= =?UTF-8?q?=E6=96=99=E7=94=B3=E8=AF=B7=E6=96=B0=E5=A2=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/BasicForm/src/BasicForm.vue | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/components/BasicForm/src/BasicForm.vue b/src/components/BasicForm/src/BasicForm.vue index dec0c25a5..c6843b4eb 100644 --- a/src/components/BasicForm/src/BasicForm.vue +++ b/src/components/BasicForm/src/BasicForm.vue @@ -706,20 +706,20 @@ const submitForm = async () => { return } // 主子表——提交请求 - try { + // try { const data = unref(formRef)?.formModel emit('submitForm', formType.value, data) - } finally { - formLoading.value = false - } + // } finally { + // formLoading.value = false + // } } else { // 编辑 - try { + // try { const data = unref(formRef)?.formModel emit('submitForm', formType.value, data) - } finally { - formLoading.value = false - } + // } finally { + // formLoading.value = false + // } } } else { // 基础数据单表——提交请求