|
@@ -193,10 +193,15 @@
|
|
|
eventClick:this.handleEventClick,
|
|
|
locale:"zh",
|
|
|
allDayDefault:false,
|
|
|
- header:{
|
|
|
+ // header:{
|
|
|
+ // left: 'prev,next today',
|
|
|
+ // center: 'title',
|
|
|
+ // right: 'month,agendaWeek,agendaDay,list'
|
|
|
+ // },
|
|
|
+ headerToolbar: {
|
|
|
left: 'prev,next today',
|
|
|
center: 'title',
|
|
|
- right: 'month,agendaWeek,agendaDay,list'
|
|
|
+ right: 'dayGridMonth,timeGridWeek,timeGridDay'
|
|
|
},
|
|
|
buttonText: {
|
|
|
today: '今天',
|
|
@@ -216,10 +221,10 @@
|
|
|
timeGridPlugin,
|
|
|
interactionPlugin ,
|
|
|
listPlugin],
|
|
|
- header:{
|
|
|
+ headerToolbar: {
|
|
|
left: 'prev,next today',
|
|
|
center: 'title',
|
|
|
- right: 'month,agendaWeek,agendaDay,list'
|
|
|
+ right: 'dayGridMonth,timeGridWeek,timeGridDay'
|
|
|
},
|
|
|
buttonText: {
|
|
|
today: '今天',
|