gpt4 book ai didi

javascript - FullCalendar 'More' 事件未显示在 eventLimitClick 上

转载 作者:行者123 更新时间:2023-12-03 11:31:33 26 4
gpt4 key购买 nike

我使用 FullCalendar 和 ajax 请求来处理“allDay”事件

并在月 View 中将事件限制设置为每天“8”(eventLimit = 8)

日历显示“更多”按钮,其中包含更多事件的数量

但是当点击“更多”时,弹出窗口上没有显示任何事件

点击“更多”的结果附在下面... ( /image/PJw0e.png )

请帮忙,非常感谢。

[编辑:1我尝试更改 allDay = false,但结果也是相同的...]

$('#calendar').fullCalendar({
editable: true,
droppable: true,
dragOpacity: {
agenda: .5
},
selectable: true,
events: {
url: 'xxxx.php',![enter image description here][1]
type: 'POST',
error: function(){
alert('event fetch error');
}
},
eventLimit:{
'agenda': 3, // adjust to 6 only for agendaWeek/agendaDay
'default': true // give the default value to other views
}
}
});

最佳答案

好吧,我自己解决了

将事件定义为“allDay”和“结束”日期的问题原因。

然后我从事件数据中删除“结束”日期,就可以了。

关于javascript - FullCalendar 'More' 事件未显示在 eventLimitClick 上,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26709988/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com