Browse Source

[积分商城][修改]:[整理代码]

tags/福建版C.9.1.01
meo 5 years ago
parent
commit
71444f6a59
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      index/user.js

+ 5
- 5
index/user.js View File

@@ -127,20 +127,20 @@ Page({
* 生命周期函数--监听页面显示
*/
onShow: function() {
if (typeof this.getTabBar === 'function' &&
this.getTabBar()) {
let that = this;
if (typeof that.getTabBar === 'function' &&
that.getTabBar()) {
if (ifStoreApp==1){
this.getTabBar().setData({
that.getTabBar().setData({
selected: 1
})
}else{
this.getTabBar().setData({
that.getTabBar().setData({
selected: 3
})
}
}
let that = this;
that.checkUserStatus();
that.setData({
appVersion: extConfig.appVersion,


Loading…
Cancel
Save