This commit is contained in:
2020-11-24 18:22:45 +08:00
parent 546270f4aa
commit c73e27774e
5 changed files with 40 additions and 27 deletions

View File

@@ -103,7 +103,7 @@ export function getweek(time: string, id: string,zhou?: number){
for(let i = 0; i < 7; i++){
console.log(i);
now = now.day(i + 1)
now = now.day(i)
date[i] = {day: ""};
date[i].day = now.year() + "-" + (now.month() + 1 < 10 ? '0' + (now.month() + 1) : (now.month() + 1)) + "-" + (now.date() < 10 ? '0' + now.date() : now.date())
date[i].list = []