fix(client): 统一打印错误处理,失败时上报并弹提示
新增 safePrint 封装,所有打印调用点统一 catch 任意异常(含字体加载失败), 自动上报 error_reporter 并展示 SnackBar,不再静默失败。 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+1
-4
@@ -7,11 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
## [1.0.2] - 2026-05-25
|
||||
|
||||
### 改进
|
||||
- 添加 /release 本地发版 slash command,一键完成构建、测试、打 tag 和推送
|
||||
|
||||
### 修复
|
||||
- Web 版打印弹窗被浏览器拦截时,由静默失败改为给出明确提示,并自动上报错误
|
||||
- 打印入库单/出库单/商品标签时,若浏览器拦截了弹窗,现在会给出明确提示,不再静默失败
|
||||
|
||||
## [1.0.1] - 2026-05-25
|
||||
|
||||
|
||||
Reference in New Issue
Block a user