甘特图 API方法toggleTaskSelection页面内容toggleTaskSelection Description 选择指定的任务(如果未被选中则选中,若已选中则取消选中) toggleTaskSelection: (taskId: string | number) => voidParameters taskId - (required) string | number - 任务的 ID Example