mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-17 05:43:51 +02:00
fix: next day button jumping to the wrong date
This commit is contained in:
@@ -141,7 +141,7 @@
|
||||
echartsInstance: null,
|
||||
resizeObserver: null,
|
||||
intersectionObservers: [],
|
||||
selectedDate: dayjs().add(-1, 'day'),
|
||||
selectedDate: dayjs(),
|
||||
// data
|
||||
activityData: [],
|
||||
activityDetailData: [],
|
||||
@@ -550,8 +550,8 @@
|
||||
}
|
||||
}
|
||||
this.selectedDate = isNext
|
||||
? this.allDateOfActivityArray[this.allDateOfActivityArray.length - 1]
|
||||
: this.allDateOfActivityArray[0];
|
||||
? this.allDateOfActivityArray[0]
|
||||
: this.allDateOfActivityArray[this.allDateOfActivityArray.length - 1];
|
||||
this.reloadData();
|
||||
},
|
||||
getDatePickerDisabledDate(time) {
|
||||
|
||||
Reference in New Issue
Block a user