forked from github/dataease
fix(仪表板): 修复含有水印的仪表板在嵌入网页时可能出现底部部分空白区域的问题
This commit is contained in:
parent
f9ed1e72a6
commit
199ffc62c7
@ -36,7 +36,7 @@ export function watermark(settings, domId) {
|
||||
page_width = page_width - cutWidth
|
||||
// 获取页面最大高度
|
||||
let page_height = watermarkDom.scrollHeight - 56
|
||||
page_height = page_height < 400 ? 400 : page_height
|
||||
page_height = page_height < 220 ? 220 : page_height
|
||||
// page_height = Math.max(page_height, window.innerHeight - 30)
|
||||
// 如果将水印列数设置为0,或水印列数设置过大,超过页面最大宽度,则重新计算水印列数和水印x轴间隔
|
||||
if (
|
||||
|
Loading…
Reference in New Issue
Block a user