|
@@ -250,7 +250,7 @@ class VisitService extends Service {
|
|
let morenArr = [];
|
|
let morenArr = [];
|
|
for(let i=0;i<7;i++){
|
|
for(let i=0;i<7;i++){
|
|
let yestday = new Date();
|
|
let yestday = new Date();
|
|
- yestday.setTime(yestday.getTime()-24*60*60*1000*i);
|
|
|
|
|
|
+ yestday.setTime(yestday.getTime()-24*60*60*1000*(6-i));
|
|
let month = yestday.getMonth()+1;
|
|
let month = yestday.getMonth()+1;
|
|
if (month < 10) month = "0" + month;
|
|
if (month < 10) month = "0" + month;
|
|
let day = yestday.getDate();
|
|
let day = yestday.getDate();
|