From 199ffc62c76fdfa4096872854b85ccd30591e858 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Mon, 15 Apr 2024 15:00:49 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E4=BB=AA=E8=A1=A8=E6=9D=BF):=20=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E5=90=AB=E6=9C=89=E6=B0=B4=E5=8D=B0=E7=9A=84=E4=BB=AA?= =?UTF-8?q?=E8=A1=A8=E6=9D=BF=E5=9C=A8=E5=B5=8C=E5=85=A5=E7=BD=91=E9=A1=B5?= =?UTF-8?q?=E6=97=B6=E5=8F=AF=E8=83=BD=E5=87=BA=E7=8E=B0=E5=BA=95=E9=83=A8?= =?UTF-8?q?=E9=83=A8=E5=88=86=E7=A9=BA=E7=99=BD=E5=8C=BA=E5=9F=9F=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/components/watermark/watermark.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core-frontend/src/components/watermark/watermark.ts b/core/core-frontend/src/components/watermark/watermark.ts index 03024a00a3..bc541fd4a1 100644 --- a/core/core-frontend/src/components/watermark/watermark.ts +++ b/core/core-frontend/src/components/watermark/watermark.ts @@ -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 (