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