Преглед изворни кода

删除手机号校验接口

tanxue пре 3 година
родитељ
комит
3f58138e2a
1 измењених фајлова са 1 додато и 9 уклоњено
  1. 1 9
      components/registerDialog.vue

+ 1 - 9
components/registerDialog.vue

@@ -171,7 +171,7 @@
           this.btnTextDisabled = false;
           this.btnText = '免费获取验证码';
           this.countdown = 60;
-        } else if(this.sqfaCountdown === -1){
+        } else if(this.countdown === -1){
           this.btnTextDisabled = false;
           this.btnText = '获取验证码';
           this.countdown = 60;
@@ -195,9 +195,6 @@
           this.$message.error('请先进行滑块校验');
           return;
         }
-        this.$axios.$post(`/develop/exists`,{  phone: this.telChangeDate.tel}).then(res=>{
-
-          if (res.code === 0 && res.data) {
 
             let req = {
               'appkey':    this.sliderData.appkey,
@@ -215,12 +212,7 @@
                 this.$message.error(res.msg||'手机号已存在');
               }
             })
-          } else {
-            this.$message.error('手机号已存在');
-            return false;
-          }
 
-        })
       },
 
       /**