From 316b7f1e05b6174e1d49f6be076f4871c990eaaa Mon Sep 17 00:00:00 2001 From: Zhao Zuohong <1040110848@qq.com> Date: Mon, 1 Nov 2021 23:23:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=9D=E8=AF=95=E5=AE=89=E8=A3=85pdf.js?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 + src/App.vue | 5 +++++ yarn.lock | 5 +++++ 3 files changed, 11 insertions(+) diff --git a/package.json b/package.json index 9a630d1..74339f9 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "bootstrap": "^5.1.3", "bootstrap-icons": "^1.6.1", "core-js": "^3.6.5", + "pdfjs-dist": "^2.10.377", "vue": "^3.0.0" }, "devDependencies": { diff --git a/src/App.vue b/src/App.vue index e2c58e3..d2519a5 100644 --- a/src/App.vue +++ b/src/App.vue @@ -48,6 +48,7 @@ diff --git a/yarn.lock b/yarn.lock index 77d28b0..9741329 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6820,6 +6820,11 @@ pbkdf2@^3.0.3: safe-buffer "^5.0.1" sha.js "^2.4.8" +pdfjs-dist@^2.10.377: + version "2.10.377" + resolved "https://registry.npmmirror.com/pdfjs-dist/download/pdfjs-dist-2.10.377.tgz#feadc9f31bf1790795994e54b18930974cf4970a" + integrity sha1-/q3J8xvxeQeVmU5UsYkwl0z0lwo= + performance-now@^2.1.0: version "2.1.0" resolved "https://registry.nlark.com/performance-now/download/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b"