如何关闭 Editor页面点击取消按钮,默认会弹出提示框这种设置?

不想出现这个提示框

image

已解决,重写 preventUnsavedChanges(event: BeforeCloseEvent) 即可

1 个赞