跳到主要内容

min_duration

Description

设置在调整大小期间可以为任务设定的最小持续时间(以毫秒为单位)。

min_duration: number

Example

gantt.config.min_duration = 24*60*60*1000; // (1 day)

Details

  • 配置值指定任务的开始日期和结束日期之间的时间跨度(task.start_date - task.end_date),该值不受 工作时间设置持续时间计算 的影响。

默认值: 60601000,或 3600000 ms,1 小时

Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.