fix(sj_1.1.0_beta1): DatetimeRange起始结束时间默认值颠倒
This commit is contained in:
parent
6ea459ef3b
commit
e8cc54a4df
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user