diff --git a/pages/mall/fragment/index.js b/pages/mall/fragment/index.js index bccea5c..596d190 100644 --- a/pages/mall/fragment/index.js +++ b/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 })