fix(web): ignore a missing documentElement when marking the home screen revealed
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
# 进度 · 首屏揭幕标记不再打断外壳注册(2026-09-22)
|
||||
|
||||
- 基线:`c6d421ed`(`origin/staging`)。门禁 run 1445 红在 `6d06fca0`,部署仍是 `1bc6a954`。
|
||||
- 根因:`useHomeShellRegistration` 在 `document` 存在但没有 `documentElement` 时写 `dataset`,抛 `TypeError`。外壳生命周期四条测试因此失败。
|
||||
- 修复:没有 `documentElement` 就返回。标记赋值那一行还在。
|
||||
- 没有改 CSS 断点、composer、或别的会话后来加的用例。
|
||||
- 验证见同轮测试输出。未跑全量 `npm test` / `next build`。未部署。
|
||||
Reference in New Issue
Block a user