vue-pdf-eurlanda
Advanced tools
Comparing version 1.0.21 to 1.0.22
@@ -31,3 +31,3 @@ { | ||
"scripts": {}, | ||
"version": "1.0.21" | ||
"version": "1.0.22" | ||
} |
@@ -87,5 +87,5 @@ import resizeSensor from 'vue-resize-sensor' | ||
if (resolutionScale < 0.85 || resolutionScale > 1.15) { | ||
this.pdf.renderPage(this.rotate); | ||
} | ||
//if (resolutionScale < 0.85 || resolutionScale > 1.15) { | ||
this.pdf.renderPage(this.rotate); | ||
//} | ||
@@ -126,4 +126,4 @@ | ||
//初始设置高度 | ||
//let docheight = document.getElementById(this.container).offsetHeight; | ||
//this.pdf.setCanvasHeight(docheight + "px"); | ||
let docheight = document.getElementById(this.container).offsetHeight; | ||
this.pdf.setCanvasHeight(docheight + "px"); | ||
this.pdf.loadDocument(this.src); | ||
@@ -130,0 +130,0 @@ }, |
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
32499