|
|
@@ -199,11 +199,15 @@ Component({ |
|
|
|
if(this.data.userData.avatarUrl){ |
|
|
|
console.log("userData") |
|
|
|
app.globalData.userInfoData.avatarUrl = this.data.userData.avatarUrl; |
|
|
|
userInfoData.avatarUrl = this.data.userData.avatarUrl; |
|
|
|
if(userInfoData){ |
|
|
|
userInfoData.avatarUrl = this.data.userData.avatarUrl; |
|
|
|
} |
|
|
|
} |
|
|
|
if(this.data.userData.nickName){ |
|
|
|
app.globalData.userInfoData.nickName = this.data.userData.nickName; |
|
|
|
userInfoData.nickName = this.data.userData.nickName; |
|
|
|
if(userInfoData){ |
|
|
|
userInfoData.nickName = this.data.userData.nickName; |
|
|
|
} |
|
|
|
} |
|
|
|
wx.setStorageSync('userInfoData', userInfoData) |
|
|
|
} |