|
|
@ -42,7 +42,7 @@ Component({ |
|
|
onRestart: function () { |
|
|
onRestart: function () { |
|
|
if(!this.data.firstShow){ |
|
|
if(!this.data.firstShow){ |
|
|
setTimeout(() => { |
|
|
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) |
|
|
}, 100) |
|
|
params.date = util.formatDate(new Date(), 'Y-M-D') |
|
|
params.date = util.formatDate(new Date(), 'Y-M-D') |
|
|
} |
|
|
} |
|
|
|