fix:排版日历切换后第一时间没有刷新,需要切换月份后才刷新问题解决。

This commit is contained in:
zhangxuanming 2024-12-26 14:12:59 +08:00
parent c7357a12d4
commit 1050affe7c

View File

@ -115,7 +115,7 @@ export default {
onSelected(calType){
this.loading = true;
this.teamShiftQueryParams.calendarType = calType;
this.teamShiftQueryParams.date = this.date;
this.teamShiftQueryParams.date = this.date.getFullYear() + '-' + (this.date.getMonth() + 1) + '-' + this.date.getDate();
listCalendars(this.teamShiftQueryParams).then(response =>{
this.calendarDayList = response.data;
this.loading = false;