将插槽更改为“某些值”时,时间标签会隐藏

时间:2017-06-25 15:32:05

标签: javascript jquery fullcalendar

我正在编辑,这是def:

$('#calendar').fullCalendar({
    slotDuration: $('input[name="duration"]').val(),
    minTime: $('input[name="start"]').val(),
    maxTime: $('input[name="end"]').val(),
    defaultView: $('#default_view').val(),
    defaultDate: $('input[name="date"]').val(),
    fixedWeekCount: false,
    handleWindowResize: true,
    height: $(window).height() - 200,
    header: {
        left: 'prev,next today',
        center: 'title',
        right: $('#views').val().join(),
        },
    editable: true,
    droppable: true,
    eventLimit: true,
    selectable: true
});

当我用 -

之类的东西改变slotDuration时 <00> 00:35:00或 00:41:00或 ○时45分00秒

发生这种情况: enter image description here

但是,当slotDuration为00:15:00时,标签显示如下: enter image description here

当我将持续时间更改为3分钟或30分钟或1小时或2或3时,以某些固定模式更改...它会显示时间标签。但对某些人来说却没有,为什么会发生这种情况呢?

0 个答案:

没有答案
相关问题