ztxkutils 10.0.10 → 10.0.11
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 +7 -3
- package/package.json +1 -1
package/dist/print.js
CHANGED
@@ -501,9 +501,13 @@ function htmlToPdfNoCanvas(_a) {
|
|
501
501
|
windowWidth: pageWidth_1,
|
502
502
|
callback: function (res) {
|
503
503
|
// 添加呈现的HTML所需的页面(从第2页开始)
|
504
|
-
for (
|
505
|
-
|
506
|
-
|
504
|
+
// for (
|
505
|
+
// let i = 2, j = (res as any).internal.getNumberOfPages();
|
506
|
+
// i <= j;
|
507
|
+
// i++
|
508
|
+
// ) {
|
509
|
+
// pdf.addPage(pageFormat, pageOrient);
|
510
|
+
// }
|
507
511
|
for (var i = 1, j = res.internal.getNumberOfPages(); i <= j; i++) {
|
508
512
|
pdf_3.setPage(i);
|
509
513
|
// 添加水印
|