Skip to content

Commit 100a605

Browse files
committed
修复多面板下批量打印出现页码错误
1 parent 9704850 commit 100a605

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/hiprint/hiprint.bundle.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10623,10 +10623,10 @@ var hiprint = function (t) {
1062310623
e || (e = {});
1062410624
var i = $('<div class="hiprint-printTemplate"></div>');
1062510625
t && t.constructor === Array ? t.forEach(function (data,dataIndex) {
10626-
data && n.printPanels.forEach(function (n, o) {
10627-
i.append(n.getHtml(data, e));
10626+
data && n.printPanels.forEach(function (printPanel, o) {
10627+
i.append(printPanel.getHtml(data, e));
1062810628
// 批量打印 续排页码
10629-
if (dataIndex == t.length - 1) {
10629+
if (dataIndex == t.length - 1 && o == n.printPanels.length - 1) {
1063010630
delete hinnn._paperList;
1063110631
}
1063210632
});

0 commit comments

Comments
 (0)