Browse Source

bug修复

guessPrice
suizhijia 5 years ago
parent
commit
b23b863d72
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      496_dongfengqichen/pages/myCenter/myCenter.js

+ 1
- 2
496_dongfengqichen/pages/myCenter/myCenter.js View File

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

Loading…
Cancel
Save