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 Прегледај датотеку

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

+ 5
- 3
496_dongfengqichen/pages/scout/scout.js Прегледај датотеку

@@ -138,10 +138,12 @@ Page({
}else if(app.globalData.certificationState==4){
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})
}else{
this.setData({iconShow:true})
}
this.setData({isbtn: true})
// wx.navigateTo({

Loading…
Откажи
Сачувај