返回当前选中的任务数组
gantt.getSelectedTasks();
此方法来自 multiselect 扩展,因此请确保启用了 multiselect 插件。更多详情,请参阅 多任务选择 文章。