diff --git a/pages/html/integral/index.js b/pages/html/integral/index.js index 59a85c0..bcf7688 100644 --- a/pages/html/integral/index.js +++ b/pages/html/integral/index.js @@ -72,7 +72,6 @@ Page({ wx.redirectTo({ url: '/pages/shop/index/index' }) } else if(targetView == 'replyArticle'){ // 回复帖子 - events.emit('EventMessage', { what: 250, desc: 'Share' }) wx.navigateBack({ delta: 1 }) } else if(targetView == 'createArticle'){ // 发布帖子 diff --git a/pages/index/index.js b/pages/index/index.js index 66f70ca..45caf00 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -208,7 +208,7 @@ Page({ * 生命周期函数--监听页面显示 */ onShow: function () { - if(this.data.inited){ + if(this.data.inited || app.globalData.Custom){ this.onResume() } // 如果定位完成,但是还是没有获取城市信息,那么就要进行城市选择