jQuery fullCalendar displayed undefined on title

后端 未结 10 636
野的像风
野的像风 2021-01-04 04:19

i\'m using jQuery fullcalendar on a ReactJs component.

i have a

on the render method

and on componentD

10条回答
  •  说谎
    说谎 (楼主)
    2021-01-04 05:06

    Remove this:

    
    

    and include in your fullcalendar code:

    $('#calendar').fullCalendar({
    header: {
        left: 'prev,next today',
        center: 'title',
        right: 'month,agendaWeek,agendaDay'
    },
    
    locale: 'es',
    });
    

提交回复
热议问题