Commit c14a8ff4 by jml0128

fix:页码计算 导出修改

1 parent d4ff9466
......@@ -229,8 +229,8 @@ export default {
offsetHeight = this.getArticleHeight(topDom.offsetHeight, $el);
className = 'print-item nowarp child-nowarp';
} else {
pre.totalPage += 1; // 玄学
offsetHeight = this.getArticleHeight(0, $el);
pre.totalPage += offsetHeight > baseHeight * baseScale ? 1 : 0; // 玄学
className = 'print-item child-nowarp';
}
}
......
......@@ -563,7 +563,7 @@ export default {
});
},
exportBi() {
window.open(this.Bi.exportBi(), '_blank');
this.Bi.exportBi();
}
},
created() {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!