跳到主要内容

auto_scheduling_strict

信息

此功能仅在PRO版本中可用。

Description

开启自动调度模式,每次任务都会重新安排到最早的可能日期

auto_scheduling_strict: boolean

Example

gantt.config.auto_scheduling_strict = true;

gantt.init("gantt_here");

Default value: false

Details

注释

此设置属于auto_scheduling扩展的一部分,因此请确保已激活auto_scheduling插件。更多信息请参见自动调度文档。

请注意,对于6.1.0到7.1.3版本,只有启用了auto_scheduling_compatibility选项,此配置才会生效。

通常情况下,只有当新日期违反约束时,任务才会被重新调度。