|
@@ -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){
|