甘特图 API方法undo页面内容undo Description 撤销对甘特图所做的更改 undo: () => voidExamplegantt.undo();Related samples Gantt 中的撤销/重做变更 Details注释此方法在 undo 扩展中定义,因此您需要激活 undo 插件。请在 Undo/Redo Functionality 条目中了解详细信息。Related API redo getUndoStack clearUndoStack onBeforeUndo onAfterUndo Related Guides Undo/Redo Functionality Change log 版本 4.0 中新增 Need help?Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.