排课页面优化

This commit is contained in:
Dai 2024-07-17 11:41:15 +08:00
parent c292eb88e4
commit 3cf881c4d9
2 changed files with 4 additions and 1 deletions

View File

@ -178,6 +178,7 @@
day: '日',
list: '列表'
},
allDayText : '全天',
// initialDate: '2024-07-14',
eventLimit: 4, // 显示更多
navLinks: true, // can click day/week names to navigate views

View File

@ -145,7 +145,8 @@
// plugins: [ 'interaction', 'dayGrid', 'timeGrid' ],
locale: 'zh-cn', // 设置中文
headerToolbar: {
left: 'prev,next today',
// left: 'prev,next today',
left: 'today',
center: 'title',
right: 'dayGridMonth,timeGridWeek,timeGridDay'
},
@ -194,6 +195,7 @@
// }
},
editable: true,
allDayText : '全天',
dayMaxEvents: true, // allow "more" link when too many events
events: function (info, successCallback, failureCallback) {
console.log('12312313', info)