Browse Source

推荐人判断null

zhanghui 1 year ago
parent
commit
96d87bd716
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pages/users/wechat_login/index.vue

+ 1 - 1
pages/users/wechat_login/index.vue

@@ -235,7 +235,7 @@ export default {
 							});
 							console.log("+++++++++INVITE_USER_ID+++++++++111111111111++++",_this.inviteUserId)
 
-							if (_this.inviteUserId){
+							if (_this.inviteUserId && _this.inviteUserId !== "null"){
 								console.log("+++++++++INVITE_USER_ID++++++22222222222+++++++",_this.inviteUserId)
 
 								bindParentId(_this.inviteUserId).then(res =>{