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('请根据图片输入验证码')