Rieko-wang 2 years ago
parent
commit
3d05f2c104
  1. 10
      index.html

10
index.html

@ -167,11 +167,11 @@
result?.map(item => { result?.map(item => {
if (moment(item.time).isAfter(nearlyWeekS)) { if (moment(item.time).isAfter(nearlyWeekS)) {
nearlyWeek.unshift(item); nearlyWeek.unshift(item);
} } else if (moment(item.time).isAfter(nearlyWeekS)) {
if (moment(item.time).isAfter(nearlyWeekS)) { nearlyMonth = [...nearlyWeek];
nearlyMonth.unshift(item); nearlyWeek.unshift(item);
} } if (moment(item.time).isAfter(lastThreeMonthsS)) {
if (moment(item.time).isAfter(lastThreeMonthsS)) { lastThreeMonths = [...nearlyWeekS]
lastThreeMonths.unshift(item); lastThreeMonths.unshift(item);
} }
}) })

Loading…
Cancel
Save