ztxkutils 10.0.13 → 10.0.14

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
@@ -392,7 +392,8 @@ function htmlToPdfNoCanvas(_a) {
392
392
  autoPaging: 'text',
393
393
  margin: [pageMarginY, pageMarginX, pageMarginY, pageMarginX],
394
394
  width: pageWidth,
395
- windowWidth: pageWidth,
395
+ // windowWidth: pageWidth,
396
+ windowWidth: 1050,
396
397
  callback: function (res) {
397
398
  // 添加呈现的HTML所需的页面(从第2页开始)
398
399
  // for (
@@ -498,7 +499,8 @@ function htmlToPdfNoCanvas(_a) {
498
499
  autoPaging: 'text',
499
500
  margin: [pageMarginY, pageMarginX, pageMarginY, pageMarginX],
500
501
  width: pageWidth_1,
501
- windowWidth: pageWidth_1,
502
+ // windowWidth: pageWidth,
503
+ windowWidth: 1050,
502
504
  callback: function (res) {
503
505
  // 添加呈现的HTML所需的页面(从第2页开始)
504
506
  // for (
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ztxkutils",
3
- "version": "10.0.13",
3
+ "version": "10.0.14",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",