zhaojs
2023-06-03 96823abe1433b1e639da1ffa45521fb58b630b46
uniapp/pages/login/setInviteCode.vue
@@ -48,11 +48,13 @@
            isShowCode:false,
            inviteCode:'',
            appInfo:'',
            inviterShow:false
            inviterShow:false,
            platform:''
         }
      },
      mounted() {
         this.appInfo = uni.getStorageSync('appInfo')
         this.appInfo = uni.getStorageSync('appInfo');
         this.platform = uni.getSystemInfoSync().platform
      },
      methods: {
         useCode()
@@ -76,8 +78,17 @@
               confirmText:'联系推荐人',
               success:function(res)
               {
                  that.isShowCode=res.cancel;
                  console.log(that.isShowCode)
                  console.log(that.platform);
                  console.log(res);
                  if (res.confirm) {
                      that.isShowCode=false;
                  } else if (res.cancel) {
                     that.isShowCode=true;
                  }
               },
               fail:function(res)
               {
                   that.isShowCode=true;
               }
            });
         },