feat(转换能力): 已修复PDF附件名称兼容问题
build.yaml / build (push) Successful in 49s

This commit is contained in:
xiaoqidun committed 2026-10-15 09:55:16 +08:00
1 parent 97a00cf1a8
commit fa476f18a3
2 files changed
+11 -2

No files matched your search

-1
View File
@@ -10664,7 +10664,6 @@ function applyFit(updateStatus = true) {
function setScale(nextScale, updateStatus = true, fitMode = "free") {
const anchor = updateStatus && fitMode === "free" ? scaleAnchor() : null;
// 适配缩放不受手动下限限制,避免大页面撑出视区。
const scale = Math.min(4, fitMode === "free" ? Math.max(0.2, nextScale) : nextScale);
const layoutChanged = scale !== state.scale || fitMode !== state.fitMode;
state.fitMode = fitMode;