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.
Files changed (2) hide show
  1. package/dist/print.js +4 -2
  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: pageWidth_1,
542
+ // windowWidth: pageWidth,
543
+ windowWidth: 1050,
542
544
  callback: function (res) {
543
545
  // 添加呈现的HTML所需的页面(从第2页开始)
544
546
  // for (
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ztxkutils",
3
- "version": "2.10.66-51",
3
+ "version": "2.10.66-52",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",