解决方法:
eventType.push(’11’); 修改为 eventType.push(11);
eventRender:function(events,elements){
var eventType = [];
if ($('#type1').is(':checked')){
eventType.push(11);
}
if ($('#type2').is(':checked')){
eventType.push(21);
eventType.push(31);
}
if ($('#type3').is(':checked')){
eventType.push(71);
}
if ($('#type4').is(':checked')){
eventType.push(51);
}
if ($('#type5').is(':checked')){
eventType.push(61);
}
displayEvent = false;
if ($.inArray(events.type, eventType) != -1){
displayEvent = true;
}
$('.fc-list-heading').each(function(index,element){
var curDate = getNowFormatDate(curDateObj);
var listDate = $(element).attr('data-date');
if(curDate == listDate){
$(element).find('.fc-list-heading-main').css({color:'#f00'})
}
})
return displayEvent;
},