使用fullcalendar我需要没有页面重新加载来slotDuration根据其他条件更改参数:
我在一个案例中做
$('#calendar').fullCalendar('option', 'slotDuration', '00:15:00');
Run Code Online (Sandbox Code Playgroud)
而在其他情况下
$('#calendar').fullCalendar('option', 'slotDuration', '00:30:00');
Run Code Online (Sandbox Code Playgroud)
但看起来它不起作用,因为我总是看到fullcalendar与slotDuration=30(2个插槽)分钟,因为它在初始化时被调用.
如果有办法吗?