Browse Source

不限制最多展示条数

cxmo 11 months ago
parent
commit
30cee0dd95
1 changed files with 2 additions and 3 deletions
  1. 2 3
      src/views/forexCalendar/components/BaseCalendar.vue

+ 2 - 3
src/views/forexCalendar/components/BaseCalendar.vue

@@ -34,8 +34,8 @@ let calendarOptions = ref({
     dayHeaderFormat:{ //https://fullcalendar.io/docs/v5/date-formatting
         weekday:'narrow', //头部星期显示为一 二 三...
     },
-    dayMaxEventRows:6,//一天最多展示6条
-    moreLinkClick:(info)=>{handleDateClick({dateStr:moment(info.date).format('YYYY-MM-DD')})},//点击more时触发
+    /* dayMaxEventRows:6,//一天最多展示6条
+    moreLinkClick:(info)=>{handleDateClick({dateStr:moment(info.date).format('YYYY-MM-DD')})},//点击more时触发 */
     dayCellContent:function(arg){ //单元格日期显示为 1 2 3...
         return arg.date.getDate()
     },
@@ -43,7 +43,6 @@ let calendarOptions = ref({
     eventClick:handleEventClick
 })
 function handleDateClick(info){
-    console.log('info',info)
     emit("dateClick",info)
 }
 function handleEventClick(info){