合并页面关闭时的自动保存触发 #57
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "codex/canvas-leave-save-once"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
页面关闭同时触发 pagehide 和 visibilitychange。隐藏页面时只保留本地草稿,关闭保存由 pagehide 统一发送,避免重复提交同一版本的画布。后台定时保存、恢复网络后的自动同步及离开保护保持可用。
验证:页面关闭事件组合的浏览器验收通过,确认只发送一次画布保存,未提交模型任务。相关文件 Biome 及差异检查通过。