From 1ab9ca5f69f7cbc0f8fd7cbce21176505cd85712 Mon Sep 17 00:00:00 2001 From: cwchen <1048842385@qq.com> Date: Fri, 13 Sep 2024 19:26:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B0=B4=E5=8D=B0=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin/watermark.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/watermark.js b/plugin/watermark.js index e8c6e95..7ab9419 100644 --- a/plugin/watermark.js +++ b/plugin/watermark.js @@ -40,7 +40,7 @@ //获取页面最大宽度 var page_width = Math.max(document.body.scrollWidth,document.body.clientWidth); //获取页面最大长度 - var page_height = Math.max(document.body.scrollHeight,document.body.clientHeight); + var page_height = Math.max(document.body.scrollHeight,document.body.clientHeight) - 50; // 创建文档碎片 var oTemp = document.createDocumentFragment();