From 6303b442a45039d95bd3fe11348d7d14d1f6990d Mon Sep 17 00:00:00 2001 From: zdg Date: Tue, 19 Nov 2024 11:15:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E9=80=81=E7=9F=AD=E4=BF=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/src/views/login/components/Register.vue | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/renderer/src/views/login/components/Register.vue b/src/renderer/src/views/login/components/Register.vue index e2d1731..00aafc5 100644 --- a/src/renderer/src/views/login/components/Register.vue +++ b/src/renderer/src/views/login/components/Register.vue @@ -28,7 +28,7 @@ - + 发送验证码 @@ -409,11 +409,13 @@ const sbmitImg=()=>{ type: type.value } sendCode(params).then(res=>{ + isImg.value=false if(res.code==200){ - ruleForm.Code=res.data - isImg.value=false + // ruleForm.Code=res.data + ElMessage.success(res.msg||'验证码-已发送') } - + }).catch(err=>{ + isImg.value=false }) }else{ ElMessage.error('请根据图片输入验证码') -- 2.44.0.windows.1