fullcalendar businessHours on non-working days in agendaDay 视图与资源
fullcalendar businessHours on non-working days in agendaDay view with resources
如果我的 none 资源设置了 businessHours,我应该如何让一整天都变灰?
当 businessHours 被设置为 每个资源在特定日期
当 未为特定日期的任何资源设置营业时间时
我的资源 Ruby 对象设置不正确。只需检查 businessHours 是否已设置,如果没有,添加 businessHours with only dow set 为每个资源解决了我的问题。
resource_example = { id: my_id, title: my_title, businessHours: { dow: my_daynum } }
如果我的 none 资源设置了 businessHours,我应该如何让一整天都变灰?
当 businessHours 被设置为 每个资源在特定日期
当 未为特定日期的任何资源设置营业时间时
我的资源 Ruby 对象设置不正确。只需检查 businessHours 是否已设置,如果没有,添加 businessHours with only dow set 为每个资源解决了我的问题。
resource_example = { id: my_id, title: my_title, businessHours: { dow: my_daynum } }