fullcalendar js不会在Internet Explorer 11上呈现视图

时间:2019-01-03 08:03:49

标签: angular fullcalendar

我有一个带有 fullcalendar.js 的日历。它在chrome上有效,但在Internet Explorer视图上无法呈现。这是我的代码:我正在从服务器获取事件,然后使用reRender函数对其进行呈现。这是一些代码:

data.eventClick = (calEvent, jsEvent, view) => this.eventClick(calEvent)

data.eventResize = (event, delta, revertFunc, jsEvent, ui, view) =>
{
    this._taskService.updateTaskTime(event.start.format(), 
        event.end.format(), event.id, false);
};
data.dayClick = (date, jsEvent, view, resourceObj) =>
{
    if (this.view !== 'week')
    {
        this.newTask([], date);
    }
    else
    {
        date = moment(resourceObj.id + 'T' + date.clone().format().split('T')[1]);
        this.newTask([], date);
    }
};

data.editable              = true;
data.eventDurationEditable = true;

this.containerEl.fullCalendar(data);
this.containerEl.fullCalendar('option', 'locale', this.localeCode);
this.containerEl.fullCalendar('option', 'height', this.calendarHeight);
this.containerEl.fullCalendar('gotoDate', this.date);

0 个答案:

没有答案