甘特图 API事件onDestroy页面内容onDestroy Description 当通过 destructor 方法清除甘特图后触发一次 onDestroy: () => void;Examplegantt.attachEvent("onDestroy", function(){ alert("释放自定义资源");});gantt.destructor();Related API destructor