修 Ch7 hint 字段 ASCII 单引号提前终止字符串 —— JS 语法错误导致 CHAPTERS 数组后续代码全部挂掉
现象:Console 报 Unexpected identifier '你是修理工吗'。 原因:Ch7(n=-7)hint 里用了 ASCII 单引号 '你是修理工吗?...' 作为内部引用,外层字符串也是 ASCII 单引号包裹——被提前终止。 修:改为中文双引号 "你是修理工吗?..."。 这才是'一直载入中'的真正原因:JS 报错 → renderChapterList/renderGallery/loadNovel 从未被执行到 → reader-content 一直停在初始的'载入中 …'。 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -503,6 +503,13 @@
|
||||
"message": "修阅读'一直载入中':novel.md gzip + 章节索引 + loading 状态",
|
||||
"hash": "33c60aa",
|
||||
"files_changed": 3
|
||||
},
|
||||
{
|
||||
"ts": "2026-04-18T15:55:26+08:00",
|
||||
"type": "commit",
|
||||
"message": "auto-save 2026-04-18 15:54 (~1)",
|
||||
"hash": "481b47b",
|
||||
"files_changed": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user