fix(image-annotate): 1.1.2 输出预设收口(JPG 自动白底、边长/体积控件、maxKB 只属电商预设、下载与还原后摘要刷新)

This commit is contained in:
qiqi committed 2026-11-04 18:09:06 +08:00
1 parent 9a0f5bab69
commit a4e89f5f8b
9 files changed
+312 -47

No files matched your search

+6 -1
View File
@@ -244,7 +244,12 @@ import { toast } from './commands.js'
if (S.placingImage) cancelImagePlacement()
try {
const { blob } = await prepareOutput()
if (mode === 'download') { downloadBlob(blob); return }
if (mode === 'download') {
downloadBlob(blob)
// download 不关编辑器:必须走一次统一重绘,摘要的「上次输出 …KB」才会更新
if (S.renderAll) S.renderAll()
return
}
if (S.callbacks && S.callbacks.onResult) S.callbacks.onResult(blob, mode)
close('done')
} catch (e) {