vue-pdf-eurlanda
Advanced tools
Comparing version 1.0.17 to 1.0.18
{ | ||
"name": "vue-pdf-eurlanda", | ||
"version": "1.0.17", | ||
"version": "1.0.18", | ||
"description": "vue.js pdf viewer", | ||
@@ -5,0 +5,0 @@ "main": "src/vuePdfNoSss.vue", |
@@ -107,3 +107,2 @@ import resizeSensor from 'vue-resize-sensor' | ||
let docheight = document.getElementById(this.container).offsetHeight; | ||
console.log("loaded高度:" + docheight); | ||
this.pdf.setCanvasHeight(docheight + 'px'); | ||
@@ -110,0 +109,0 @@ this.pdf.loadPage(this.page, this.rotate); |
@@ -242,3 +242,2 @@ import { CMapCompressionType } from 'pdfjs-dist/lib/shared/util'; | ||
canvasElt.height = viewport.height; | ||
console.log("给canvas赋值:" + viewport.height); | ||
canvasElt.style.width = viewport.width + "px"; | ||
@@ -245,0 +244,0 @@ canvasElt.style.height = viewport.height + "px"; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
32495
537