zhaojs
2023-06-21 dd13f704cd41f0f4d84bb48f5d216112250fe1a3
uniapp/pages/login/bindingPhone.vue
@@ -125,6 +125,7 @@
               setTimeout(function(){
                  univerifyManager.close();
               },2000);
               that.isyj=false;
            })
         },
         mobShow()
@@ -213,7 +214,9 @@
         },
         bindMobile(){
            var that = this;
            if(!this.hasLogin && this.wxUser != ""){
            console.log(this.hasLogin)
            console.log(this.wxUser)
            if(this.wxUser != ""){
               this.$u.api.bindMobileLogin({
                  wxUser : encodeURIComponent(JSON.stringify(that.wxUser)),
                  mobile:this.phone,
@@ -243,7 +246,8 @@
            }else{
               this.$u.api.changeMobile({
                  mobile:this.phone,
                  captcha:this.code
                  captcha:this.code,
                  isyj:this.isyj
               }).then(e => {
                  if(e.code != 0) return that.$alert(e.msg)
                  that.$alert('绑定成功');