Browse Source

不固定6周,随月份显示

cxmo 9 months ago
parent
commit
3bd09fcde2
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/views/forexCalendar/components/BaseCalendar.vue

+ 1 - 0
src/views/forexCalendar/components/BaseCalendar.vue

@@ -34,6 +34,7 @@ let calendarOptions = ref({
     dayHeaderFormat:{ //https://fullcalendar.io/docs/v5/date-formatting
         weekday:'narrow', //头部星期显示为一 二 三...
     },
+    fixedWeekCount:false,
     eventOrder:'sort', //指定事项排序字段
     /* dayMaxEventRows:6,//一天最多展示6条
     moreLinkClick:(info)=>{handleDateClick({dateStr:moment(info.date).format('YYYY-MM-DD')})},//点击more时触发 */