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