Skip to content

fix(writing): 夸克等内核下字帖图片导出不再卡住 - #188

Merged
WardLu merged 1 commit into
mainfrom
fix/mobile-save-sheet
Oct 18, 2026
Merged

WardLu merged 1 commit into
mainfrom
fix/mobile-save-sheet

Conversation

@WardLu

@WardLu WardLu commented Oct 18, 2026

Copy link
Copy Markdown
Owner

问题

夸克中点「保存 A4 字帖图片」只变按钮文字,没有图片。导出流程与 Shadow Snap 一致;差异在于影伴先加载 data: SVG 品牌 Logo:部分国产内核既不触发 onload/onerror(导出挂起),或画过 SVG 后画布不可导出(toBlob/toDataURL 抛 SecurityError)。

修复

  • Logo 加载 2 秒超时
  • 带 Logo 导出失败时去掉 Logo 重画

验证

  • 新增 2 条单测,修复前失败、修复后通过(11/11)
  • npm run check 通过
  • 夸克真机:待发布后验证

Release impact

无数据库变更;需生产部署后在夸克验证。

- 品牌 Logo(data: SVG)加载加 2 秒超时,内核不回调时不画 Logo
- 画布因 SVG 被标记为不可导出时,去掉 Logo 重画一次
- 新增两条回归测试
@WardLu WardLu added the production-impact Changes production behavior or release operations label Oct 18, 2026
@WardLu
WardLu merged commit a2c585d into main Oct 18, 2026
6 checks passed
WardLu added a commit that referenced this pull request Oct 18, 2026
- 写字练习卡的登录提示移到“完成今日打卡 · 写字”下方,自定义积分项移到列表下方
- CHANGELOG / RELEASE_NOTES 补记 #186、#188、#190 已上线修复
- 用户指南、架构、README、统计文档对齐触屏图片导出、/sb/ 代理与提示位置
- 版本号 1.9.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

production-impact Changes production behavior or release operations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant