瀏覽代碼

不固定6周,随月份显示

cxmo 9 月之前
父節點
當前提交
3bd09fcde2
共有 1 個文件被更改,包括 1 次插入0 次删除
  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时触发 */