소스 검색

功能优化

guessPrice
sui 5 년 전
부모
커밋
9060d6c482
1개의 변경된 파일7개의 추가작업 그리고 2개의 파일을 삭제
  1. +7
    -2
      496_dongfengqichen/pages/myCenter/myCenter.js

+ 7
- 2
496_dongfengqichen/pages/myCenter/myCenter.js 파일 보기

@@ -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)

Loading…
취소
저장