Authored by 陈峰

stat shop bug

... ... @@ -110,8 +110,8 @@
},
dateRange(newDate) {
this.beginDate = Array.isArray(newDate) ? newDate[0] : newDate;
this.endDate = Array.isArray(newDate) ? newDate[1] : newDate;
this.beginDate = moment(newDate[0]).format('YYYY-MM-DD');
this.endDate = moment(newDate[1]).format('YYYY-MM-DD');
this.day = this.beginDate === this.endDate === this.today ? '' : this.beginDate;
this.curTarget = 'uv';
this.getDataFlag = true;
... ... @@ -119,6 +119,9 @@
this.getOverviewData();
if (this.endDate !== this.today) {
_.each(this.targetList, tar => {
tar.chatOpt = {};
});
this.getOverviewTrend();
}
},
... ...