fix:排版日历切换后第一时间没有刷新,需要切换月份后才刷新问题解决。
This commit is contained in:
parent
c7357a12d4
commit
1050affe7c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user