@koi-br/ocr-web-sdk 1.0.19 → 1.0.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@koi-br/ocr-web-sdk",
3
- "version": "1.0.19",
3
+ "version": "1.0.20",
4
4
  "description": "一个支持多种Office文件格式预览的Vue3组件SDK,包括PDF、Word、Excel、图片、OFD、TIF等格式",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",
@@ -571,6 +571,7 @@ const loadPDF = async () => {
571
571
  // 发出 PDF 加载完成事件
572
572
  emit("pdf-loaded");
573
573
  } catch (error) {
574
+ console.error(error);
574
575
  Message.error("加载 PDF 文件失败,请查看控制台了解详情");
575
576
  }
576
577
  };