Rieko-wang 2 years ago
parent
commit
01e4d657a2
  1. 4
      index.html

4
index.html

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

Loading…
Cancel
Save