Przeglądaj źródła

功能优化

guessPrice
sui 5 lat temu
rodzic
commit
9060d6c482
1 zmienionych plików z 7 dodań i 2 usunięć
  1. +7
    -2
      496_dongfengqichen/pages/myCenter/myCenter.js

+ 7
- 2
496_dongfengqichen/pages/myCenter/myCenter.js Wyświetl plik

@@ -95,6 +95,7 @@ Page({
this.data.userData.nickName = app.globalData.userInfoData.nickName;
this.data.userData.userLevel = app.globalData.userInfoData.userLevel;
this.setData({
isLogin: true,
userData: this.data.userData
})
}
@@ -395,9 +396,13 @@ Page({
wx.setStorageSync('userInfoData', app.globalData.userInfoData);
}
this.setData({
userData: this.data.userData,
isLogin: true
userData: this.data.userData
})
if (!app.globalData.userInfoData){
this.setData({
isLogin: true
})
}
}
}
},this)

Ładowanie…
Anuluj
Zapisz