Angularjs 日历在IE 11中不刷新

Angularjs 日历在IE 11中不刷新,angularjs,fullcalendar,Angularjs,Fullcalendar,我们有一个刷新按钮,在刷新时,我们必须清除eventSources数组并用新数据填充它。 这是原始事件数组 this.calEvents = [ { title: 'All Day Event', start: new Date(y, m, 1) }, { title: 'Long Event', start: new Date(y, m, d - 5), end: new Date(y, m, d - 2) }, { id: 999, title: 'Repeating

我们有一个刷新按钮,在刷新时,我们必须清除eventSources数组并用新数据填充它。 这是原始事件数组

this.calEvents = [
    { title: 'All Day Event', start: new Date(y, m, 1) },
    { title: 'Long Event', start: new Date(y, m, d - 5), end: new Date(y, m, d - 2) },
    { id: 999, title: 'Repeating Event', start: new Date(y, m, d - 3, 16, 0), allDay: false },
    { id: 999, title: 'Repeating Event', start: new Date(y, m, d + 4, 16, 0), allDay: false },
    { title: 'Birthday Party', start: new Date(y, m, d + 1, 19, 0), end: new Date(y, m, d + 1, 22, 30), allDay: false },
    { title: 'Click for Google', start: new Date(y, m, 28), end: new Date(y, m, 29), url: 'http://google.com/' }
];
this.eventSources = [this.calEvents];
是单击按钮时刷新完整日历的代码

var eventSources = this.calEvents.map((event) => {
    return {
        title: event.title,
        start: event.start
    }
});
this.uiCalendarConfig.calendars['myCalendar'].fullCalendar('removeEvents') 
this.uiCalendarConfig.calendars['myCalendar'].fullCalendar('addEventSource', eventSources);
this.uiCalendarConfig.calendars['myCalendar'].fullCalendar('refetchEvents');
上述代码在Chrome中有效,但在IE11中不起作用

是否有一个单独的API来刷新IE中的数据

这是eventSources数组。
谢谢

控制台中有任何错误吗?您的事件功能是什么样子的(触发
refetchEvents
的事件)?IE控制台中没有错误。我添加了eventSources数组映像。同样的数组在chrome中工作。我注意到如果我点击它呈现的页面的任何地方。我尝试添加$timeout,但没有成功。