我使用完整日历来制作活动

I use fullcalendar to make the event

本文关键字:活动 日历      更新时间:2023-09-26

我使用全日历来制作事件,但存在这样的问题:

fullcalendar.min.js:6 未捕获的类型错误: 无法读取属性 未定义的"剥离时间"

.js

var a ='<?php echo $class_id?>'  
    $(document).ready(function() {  
        $('#event').fullCalendar({
            header: {
                left: 'prev,next today',
                center: 'title',
                right: 'month,agendaWeek,agendaDay'
            },
            allDayDefault: true,
            editable: false,
            events: {
                url: "events/" + a ,
            },
        });
    });

你能提供更多的背景信息吗?包括哪些事件。事件的开始或结束属性很可能未正确设置,这就是您收到此错误的原因。