vue-pdf-eurlanda
Advanced tools
Comparing version 1.0.37 to 1.0.38
@@ -31,3 +31,3 @@ { | ||
"scripts": {}, | ||
"version": "1.0.37" | ||
"version": "1.0.38" | ||
} |
@@ -232,2 +232,3 @@ import { CMapCompressionType } from 'pdfjs-dist/lib/shared/util'; | ||
console.log(docWidth, docOffset); | ||
console.log(pdfPage.getViewport(1).width, pdfPage.getViewport(1).height); | ||
var scale = docWidth / pdfPage.getViewport(1).width * (window.devicePixelRatio || 1); | ||
@@ -234,0 +235,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
32735
540