@toolspack/ttd-pdfjs 0.0.4 → 0.0.5
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/README.md +2 -1
- package/lib/ttd-pdfjs.common.js +75 -85
- package/lib/ttd-pdfjs.umd.js +75 -85
- package/lib/ttd-pdfjs.umd.min.js +5 -27
- package/package.json +1 -1
- package/src/packages/pdfjs/PdfView216.vue +1 -1
package/package.json
CHANGED
|
@@ -32,7 +32,7 @@ const PDFJS = require('pdfjs-dist')
|
|
|
32
32
|
|
|
33
33
|
const defautScale = 1.0
|
|
34
34
|
|
|
35
|
-
PDFJS.GlobalWorkerOptions.workerSrc = require('pdfjs-dist/build/pdf.worker.js')
|
|
35
|
+
PDFJS.GlobalWorkerOptions.workerSrc = require('pdfjs-dist/legacy/build/pdf.worker.min.js')
|
|
36
36
|
// https://unpkg.com/pdfjs-dist@2.16.105/cmaps/
|
|
37
37
|
// 使用代理的cmaps,会导致加载很慢,改用本地
|
|
38
38
|
|