Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 FullCalendar 的“agendaWeek”视图,我只在周日至周四举办活动。
有没有办法完全从视图中删除那个星期五和星期六?
您可以使用选项周末=false,然后您需要编辑函数(在库中)以排除您想要的日期:
function skipWeekend(date, inc, excl) { ... }
在您需要在周视图中编辑对此函数的调用后:
function AgendaWeekView and BasicWeekView
干杯,