twcpt 0.0.30 → 0.0.31
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/dist/components/j-tw-pdf-view/types.d.ts +2 -2
- package/dist/shims-url.d.ts +4 -0
- package/dist/twcpt.cjs.js +69 -13
- package/dist/twcpt.es.js +28490 -7363
- package/package.json +1 -1
- package/dist/pdf-DNv6W857.js +0 -18274
- package/dist/pdf-DaVs5dNL.cjs +0 -55
|
@@ -47,8 +47,8 @@ export interface JTWPdfViewProps {
|
|
|
47
47
|
height?: string;
|
|
48
48
|
/**
|
|
49
49
|
* pdfjs worker 脚本路径。
|
|
50
|
-
*
|
|
51
|
-
*
|
|
50
|
+
* 默认不使用 CDN。
|
|
51
|
+
* 如需显式启用 worker,可传入业务项目中的本地路径或自定义地址。
|
|
52
52
|
*/
|
|
53
53
|
workerSrc?: string;
|
|
54
54
|
/**
|