소스 검색

功能优化

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

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

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)

Loading…
취소
저장