306132416@qq.com 3 år sedan
förälder
incheckning
9b9fb006b1
2 ändrade filer med 3 tillägg och 2 borttagningar
  1. 2 2
      pages/index/activity/activity.vue
  2. 1 0
      pages/index/index.vue

+ 2 - 2
pages/index/activity/activity.vue

@@ -189,14 +189,13 @@ export default {
 	  			openid:getApp().globalData.open_id
 	  		},
 	  		success: (res) => {
-	  			console.log(res)
 	  			if(res.data.code === 200){
 	  				getApp().globalData.user_phone = res.data.data;
 	  				this.userPhone = res.data.data.substr(0, 3) + '****' + res.data.data.substr(7) ;
 	  				this.$refs.popup.close()
 	  				uni.showTabBar({})
 					this.getUserInfoBranch();
-					this.getActiveList(this.branchId)
+					this.getActiveList(this.branchId);
 					this.getActiveInfoBranch()
 	  			}else {
 	  				uni.showToast({
@@ -282,6 +281,7 @@ export default {
 						  this.userPhone = res.data.data.phone.substr(0, 3) + '****' + res.data.data.phone.substr(7)
 						  this.getUserInfoBranch();
 						  this.getActiveList(this.branchId);
+						  this.getActiveInfoBranch()
 					  }else {
 						  this.open()
 					  }

+ 1 - 0
pages/index/index.vue

@@ -512,6 +512,7 @@ export default {
 			  getApp().globalData.user_name = "";
 			  getApp().globalData.user_phone = "";
 			  this.userPhone = '';
+			  this.isNeedPhone = '';
 			  //this.list[3].isShow = false;
 			//this.$forceUpdate();
 			  uni.showToast({