From e8cc54a4dfea5f6b6129a9fac0b2c85330de6653 Mon Sep 17 00:00:00 2001 From: dhb52 Date: Sun, 16 Jun 2024 00:14:36 +0800 Subject: [PATCH] =?UTF-8?q?fix(sj=5F1.1.0=5Fbeta1):=20DatetimeRange?= =?UTF-8?q?=E8=B5=B7=E5=A7=8B=E7=BB=93=E6=9D=9F=E6=97=B6=E9=97=B4=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E5=80=BC=E9=A2=A0=E5=80=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/common/datetime-range.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/common/datetime-range.vue b/src/components/common/datetime-range.vue index f246530..065e490 100644 --- a/src/components/common/datetime-range.vue +++ b/src/components/common/datetime-range.vue @@ -42,7 +42,7 @@ watch( function getDefaultDate(): [number, number] { const endOfDayTimestamp = dayjs().endOf('day').valueOf(); const startOfDayOneMonthAgoTimestamp = dayjs().subtract(1, 'month').startOf('day').valueOf(); - return [endOfDayTimestamp, startOfDayOneMonthAgoTimestamp]; + return [startOfDayOneMonthAgoTimestamp, endOfDayTimestamp]; } function initDefaultDate() {