调整汇总页高度
This commit is contained in:
parent
a215e1e6e6
commit
a0a6b15702
@ -1718,7 +1718,7 @@
|
|||||||
document.body.appendChild(testElement);
|
document.body.appendChild(testElement);
|
||||||
|
|
||||||
// 获取第一页汇总内容区域的可用高度 (调整这个值根据实际布局)
|
// 获取第一页汇总内容区域的可用高度 (调整这个值根据实际布局)
|
||||||
const availableHeight = 800; // 大约可用高度,根据实际情况调整
|
const availableHeight = 700; // 大约可用高度,根据实际情况调整
|
||||||
|
|
||||||
if (testElement.offsetHeight <= availableHeight) {
|
if (testElement.offsetHeight <= availableHeight) {
|
||||||
// 内容不超过一页,隐藏第二页
|
// 内容不超过一页,隐藏第二页
|
||||||
|
Loading…
Reference in New Issue
Block a user