我正在试图找出为什么完整日历没有显示某些行。我尝试将slotDuration设置为5,10分钟,在这种情况下,它可以工作,但在15,30分钟它没有。我还看到,在渲染时,它会在未显示的相邻行上应用.fc-minor
类。
有谁知道为什么会这样?
var calendarOptions = {
header: {
left: 'prev today',
center: 'title',//'agendaWeek,agendaFourDay',
right: 'next, month, agendaWeek, agendaDay'
},
columnFormat: 'ddd D/M',
eventColor:"#208454",
timezone: 'Australia/Sydney',
slotDuration: '00:30:00',
...
}
答案 0 :(得分:0)
我在custom.scss中设置了以下属性,这阻止了正确渲染相邻事件。
.fc-slats td {
height: 1px !important;
}