diff --git a/pages/moment/fragment/index.js b/pages/moment/fragment/index.js index 0110d4e..c1463f5 100644 --- a/pages/moment/fragment/index.js +++ b/pages/moment/fragment/index.js @@ -42,7 +42,7 @@ Component({ onRestart: function () { if(!this.data.firstShow){ setTimeout(() => { - this.setData({ tabIndex: this.data.tabIndex, tabList: list, mHeight: this.data.height - 87 - this.data.customHeight }) + this.setData({ tabIndex: this.data.tabIndex, tabList: list, mHeight: this.data.height - 87 - this.data.customHeight,cityName: app.nowCity.cityName }) }, 100) params.date = util.formatDate(new Date(), 'Y-M-D') }