소스 검색

不固定6周,随月份显示

cxmo 1 년 전
부모
커밋
b1ccfa4763
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/views/hzyb/forexCalendar/components/BaseCalendar.vue

+ 1 - 0
src/views/hzyb/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',
     dayCellContent:function(arg){ //单元格日期显示为 1 2 3...
         return arg.date.getDate()