fix(images): 缩略图 MIME 魔数嗅探 + 取消在用 objectURL 撤销 + 缩略图回收(v3.25.78/79)
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 25s

This commit is contained in:
qiqi committed 2026-11-21 07:41:18 +08:00
1 parent f02b3dcec2
commit 2860faacbb
17 files changed
+170 -40

No files matched your search

+1 -1
View File
@@ -149,7 +149,7 @@ const MAX_SRC_COMPONENT_LINES = 531
// ② 同时守「app.js 占总源码 ≤ 40%」(2026-11-12 实测 38.4%)—— app.js 可以涨,
// 但必须涨得比 src 慢;功能继续加,占比自然往下走;
// ③ Workbench 单函数上限**不动**(3,091)—— 那才是真坏味道的护栏,总量松它不松。
const MAX_APP_JS_LINES = 9030 // 2026-11-21 v3.25.76:外观实时预览事件监听(外观面板本体在 src/ui-appearance.js)
const MAX_APP_JS_LINES = 9035 // 2026-11-21 v3.25.78:缩略图回收调度(3 行,逻辑在 src/storage-file.js)
const MAX_APP_JS_SHARE = 0.40
// ── 历史记账(供回溯,逐条保留)──────────────────────────────────────────────