发布网友 发布时间:2022-05-17 09:36
共1个回答
热心网友 时间:2023-10-17 18:24
var calendar = $('#calendar'); 删除全部: calendar.fullCalendar('removeEvents'); 添加多个: calendar.fullCalendar('renderEvents', events, true); events是: [{ "title": "All Day Event", "start": "2018-03-01" }, { "title": "Long Event", "start": "2018-03-07", "end": "2018-03-10" } ]