Fullcalendar EvenDrop 没有日期“结束”

问题描述

你好,看看这个例子,当我删除事件时,我没有结束日期,因此当我点击它时,我错过了这个日期,带入编辑表单

https://jsfiddle.net/max1974/msnyk1oL/1/

$('#external-events .fc-event').each(function() {

  // make the event draggable using jQuery UI
  $(this).draggable({
    zIndex: 999,revert: true,// will cause the event to go back to its
    revertDuration: 0 //  original position after the drag
  });

});


/* initialize the calendar
-----------------------------------------------------------------*/
$('#calendar').fullCalendar({
  header: {
    left: 'prev,next today',center: 'title',right: 'month,agendaWeek,agendaDay'
  },editable: true,droppable: true,// this allows things to be dropped onto the calendar
  drop: function() {
    $(this).remove();
  },eventReceive: function(event) {
    alert(JSON.stringify(event,null,4));
  },eventClick: function (event) {    
    alert(JSON.stringify(event,4))   
  }  
});

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)