From dc336b246060ce15fa21ae131830b6f22bb71aa7 Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期五, 21 十月 2022 12:27:30 +0800
Subject: [PATCH] 45
---
src/views/login/index.vue | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/src/views/login/index.vue b/src/views/login/index.vue
index 8d9ccf4..74be506 100644
--- a/src/views/login/index.vue
+++ b/src/views/login/index.vue
@@ -82,8 +82,11 @@
Toast('手机号码不能为空')
return
}
- ajaxPost('patient/info/sendValidCode','phoneNo='+ruleForm3.value.userPhone,config).then(re=>{
+ ajaxPost('patient/info/sendValidCode','phoneNo='+ruleForm3.value.userPhone,config).then((re:any)=>{
console.log(re)
+ if (re.code===200){
+ return
+ }
const timer= setInterval(() => {
if (seconds.value > 0) {
seconds.value--
--
Gitblit v1.8.0