自动将包含子任务的任务切换为项目,并将没有子任务的项目转换回任务
Available only in PRO Edition
gantt.config.auto_types = true;
此功能仅在PRO版本中提供。