소스 검색

bug修复

master
suizhijia 5 년 전
부모
커밋
eab1ca3c9e
2개의 변경된 파일7개의 추가작업 그리고 3개의 파일을 삭제
  1. +2
    -0
      496_dongfengqichen/app.js
  2. +5
    -3
      496_dongfengqichen/pages/scout/scout.js

+ 2
- 0
496_dongfengqichen/app.js 파일 보기

"content-type": "application/x-www-form-urlencoded", "content-type": "application/x-www-form-urlencoded",
"VERSION": '100', "VERSION": '100',
"OPENID": this.globalData.openid "OPENID": this.globalData.openid
// "OPENID": "o4h7Y5ReAtr8SiEYzRWgJGu82UiI"
}, },
success: function (re) { success: function (re) {
// if (re.data.code == -1002) { // if (re.data.code == -1002) {
method: methods, method: methods,
header: { header: {
"OPENID": this.globalData.openid, "OPENID": this.globalData.openid,
// "OPENID": "o4h7Y5ReAtr8SiEYzRWgJGu82UiI",
"VERSION": '100' "VERSION": '100'
}, },
success: function (re) { success: function (re) {

+ 5
- 3
496_dongfengqichen/pages/scout/scout.js 파일 보기

}else if(app.globalData.certificationState==4){ }else if(app.globalData.certificationState==4){
this.setData({titleContent:'尊敬的星探顾问'}) this.setData({titleContent:'尊敬的星探顾问'})
} }
if(app.globalData.userInfoData==null){
this.setData({iconShow:true})
}else{
console.log(app.globalData.userInfoData);
if(app.globalData.userInfoData && app.globalData.userInfoData.avatarUrl){
this.setData({iconShow:false}) this.setData({iconShow:false})
}else{
this.setData({iconShow:true})
} }
this.setData({isbtn: true}) this.setData({isbtn: true})
// wx.navigateTo({ // wx.navigateTo({

Loading…
취소
저장