Repository navigation
修复后台草稿失败恢复与文章列表请求乱序 - #86
Closed
13304930782 wants to merge 1 commit into
Closed
13304930782 wants to merge 1 commit into
13304930782 wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
放弃草稿遭到明确拒绝时,编辑器现在保留当前内容并允许继续保存;权限失效、版本冲突及结果不确定时仍要求核对。保存失败后,主动发布或提交会重新保存当前内容,避免自动保存暂停导致按钮无响应。
文章列表在应用草稿结果前检查请求版本,避免旧响应覆盖最新草稿;文章和评论加载失败后提供重试入口,草稿加载更多在请求期间禁用并在已发布筛选下隐藏。
验证:npm run check 全部通过,包括严格类型检查、71 项测试、生产构建和包体预算。新增 5 项回归测试覆盖放弃失败、结果不确定、保存重试、请求乱序和列表重试。
本次仅修改前端及测试,沿用 Nginx + Express + MySQL 部署,不涉及数据库迁移或线上权限变更。尚未部署到 mooncci.site。