@@ -381,7 +381,7 @@ Page({ | |||
getUserInfo:function(e){//获取个人信息 | |||
app.wxRequest(app.globalData.urlRoot + 'userInfo/getUserInfo', {}, res => { | |||
if(res.code==200){ | |||
if (res.data) { | |||
if (res.data && res.data.avatarUrl) { | |||
this.data.userData.userLevel = res.data.userLevel; | |||
if (!app.globalData.userInfoData) { | |||
this.data.userData.avatarUrl = res.data.avatarUrl; |