Browse Source

no message

featrue/v4.5
xpz2018 4 years ago
parent
commit
4c9ede3338
1 changed files with 2 additions and 1 deletions
  1. 3
      pages/mall/fragment/index.js

3
pages/mall/fragment/index.js

@ -85,8 +85,9 @@ Component({
return
}
console.log('mall>>fragment>>onEvent', message)
if(message.what == 888){
if(message.what == 888 && app.globalData.userInfo){
this.initLogin()
this.fetchAgentList()
} else if(message.what == 444){
form.cityId = app.nowCity.cityCode
this.setData({ cityName: app.nowCity.cityName })

Loading…
Cancel
Save