甘特图 API事件onClear页面内容onClear Description 当通过 clearAll 方法从甘特图中移除所有任务时触发一次 onClear: () => void;Examplegantt.attachEvent("onClear", function (){ //在此处编写任何自定义逻辑});Related API clearAll