I use fullcalendar to make the event

走远了吗. 提交于 2019-12-25 18:34:29

问题


I use fullcalendar to make the event , but there is a problem like this:

fullcalendar.min.js:6 Uncaught TypeError: Cannot read property 'stripTime' of undefined

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 ,
            },
        });
    });

回答1:


Can you provide more context? What events are being included. Most likely the start or end properties of the event is not setup properly which would be why you're getting this error.



来源:https://stackoverflow.com/questions/38303248/i-use-fullcalendar-to-make-the-event

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!