From dd5bfbc8591813fdcf10821545e998c997509d3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B1=B1=E9=87=8E=E7=BE=A1=E6=B0=91?= Date: Mon, 28 Jul 2025 07:15:32 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B3=A8=E5=86=8C=E8=A1=A8=E5=8D=95?= =?UTF-8?q?=E6=A0=A1=E9=AA=8C=E6=9C=AA=E5=A4=B1=E6=95=88=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 山野羡民 --- src/views/Login/components/RegisterForm.vue | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/views/Login/components/RegisterForm.vue b/src/views/Login/components/RegisterForm.vue index 0636a1c82..6a77cfbfc 100644 --- a/src/views/Login/components/RegisterForm.vue +++ b/src/views/Login/components/RegisterForm.vue @@ -38,7 +38,7 @@ - + { loading.value = true @@ -183,6 +185,11 @@ const handleRegister = async (params: any) => { registerData.registerForm.captchaVerification = params.captchaVerification } + const data = await validForm() + if (!data) { + return + } + const res = await LoginApi.register(registerData.registerForm) if (!res) { return @@ -242,7 +249,6 @@ const getTenantByWebsite = async () => { } } } -const loading = ref() // ElLoading.service 返回的实例 watch( () => currentRoute.value,