Repository navigation
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.
Fixes #8716
账号列表自动刷新同一账号的
extra后,CN 配额单元格仍显示挂载时复制的旧数值,直到整页重新加载。展示现在直接读取响应式快照,手动探测结果作为临时覆盖。配额值、窗口或快照更新时间变化后回到最新快照;无关账号字段刷新不会把刚查询的新结果退回旧值。账号或平台切换时清理探测状态,并忽略上一账号的迟到响应。
验证使用 pnpm 9.15.9(与 CI 的主版本一致)、Node 26.13.0 / macOS arm64:
main@530c5e3a4全部失败;修复后连同原有 2 项共 8 项全部通过。覆盖同 ID 快照替换、原地更新、窗口增删、手动结果保留与新版本接管、账号切换后的迟到响应。FRONTEND_CRITICAL_VITEST全部文件及账号组件目录:980 项测试通过。eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts、vue-tsc --noEmit和git diff --check通过。install --frozen-lockfile;依赖与锁文件未变。实现与本地验证由 AI 完成。组件验证使用合成账号数据与模拟探测响应,未调用真实供应商或验收生产部署。