Quellcode durchsuchen

功能优化

guessPrice
sui vor 5 Jahren
Ursprung
Commit
9060d6c482
1 geänderte Dateien mit 7 neuen und 2 gelöschten Zeilen
  1. +7
    -2
      496_dongfengqichen/pages/myCenter/myCenter.js

+ 7
- 2
496_dongfengqichen/pages/myCenter/myCenter.js Datei anzeigen

this.data.userData.nickName = app.globalData.userInfoData.nickName; this.data.userData.nickName = app.globalData.userInfoData.nickName;
this.data.userData.userLevel = app.globalData.userInfoData.userLevel; this.data.userData.userLevel = app.globalData.userInfoData.userLevel;
this.setData({ this.setData({
isLogin: true,
userData: this.data.userData userData: this.data.userData
}) })
} }
wx.setStorageSync('userInfoData', app.globalData.userInfoData); wx.setStorageSync('userInfoData', app.globalData.userInfoData);
} }
this.setData({ this.setData({
userData: this.data.userData,
isLogin: true
userData: this.data.userData
}) })
if (!app.globalData.userInfoData){
this.setData({
isLogin: true
})
}
} }
} }
},this) },this)

Laden…
Abbrechen
Speichern