甘特图 API方法getTaskHeight页面内容getTaskHeight Description 提供任务的可见高度 getTaskHeight: (id?: string | number) => numberParameters id - (optional) string | number - 任务的 id Returns height - (number) - 指定任务的高度,或者如果未提供 id 参数,则返回任务的高度 Exampleconst height = gantt.getTaskHeight(); // -> 30