We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9704850 + 100a605 commit 1d0df05Copy full SHA for 1d0df05
1 file changed
src/hiprint/hiprint.bundle.js
@@ -10623,10 +10623,10 @@ var hiprint = function (t) {
10623
e || (e = {});
10624
var i = $('<div class="hiprint-printTemplate"></div>');
10625
t && t.constructor === Array ? t.forEach(function (data,dataIndex) {
10626
- data && n.printPanels.forEach(function (n, o) {
10627
- i.append(n.getHtml(data, e));
+ data && n.printPanels.forEach(function (printPanel, o) {
+ i.append(printPanel.getHtml(data, e));
10628
// 批量打印 续排页码
10629
- if (dataIndex == t.length - 1) {
+ if (dataIndex == t.length - 1 && o == n.printPanels.length - 1) {
10630
delete hinnn._paperList;
10631
}
10632
});
0 commit comments