ztxkutils 2.10.66-51 → 2.10.66-52
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/dist/print.js +4 -2
- package/package.json +1 -1
package/dist/print.js
CHANGED
@@ -431,7 +431,8 @@ function htmlToPdfNoCanvas(_a) {
|
|
431
431
|
autoPaging: 'text',
|
432
432
|
margin: [pageMarginY, pageMarginX, pageMarginY, pageMarginX],
|
433
433
|
width: pageWidth,
|
434
|
-
windowWidth: pageWidth,
|
434
|
+
// windowWidth: pageWidth,
|
435
|
+
windowWidth: 1050,
|
435
436
|
callback: function (res) {
|
436
437
|
// 添加呈现的HTML所需的页面(从第2页开始)
|
437
438
|
// 注释掉这里导致多出一页空白页
|
@@ -538,7 +539,8 @@ function htmlToPdfNoCanvas(_a) {
|
|
538
539
|
autoPaging: 'text',
|
539
540
|
margin: [pageMarginY, pageMarginX, pageMarginY, pageMarginX],
|
540
541
|
width: pageWidth_1,
|
541
|
-
windowWidth:
|
542
|
+
// windowWidth: pageWidth,
|
543
|
+
windowWidth: 1050,
|
542
544
|
callback: function (res) {
|
543
545
|
// 添加呈现的HTML所需的页面(从第2页开始)
|
544
546
|
// for (
|