|
|
@@ -309,6 +309,12 @@ export default {
|
|
|
todayItem = this.calendarStudyVo.dayStudyList[todayIndex]
|
|
|
start = todayIndex - todayItem.studyDay;
|
|
|
}
|
|
|
+ if ((date.getMonth() + 1) != this.calendarStudyVo.month) {
|
|
|
+ todayIndex = 0
|
|
|
+ todayItem = this.calendarStudyVo.dayStudyList[todayIndex]
|
|
|
+ start = 0;
|
|
|
+ }
|
|
|
+ console.log(start,689)
|
|
|
/* this.calendarStudyVo.miniDayStudyList = []
|
|
|
for(let i=start;i<start + 7;i++){
|
|
|
this.calendarStudyVo.miniDayStudyList.push(this.calendarStudyVo.dayStudyList[i])
|