From 9ea36a852f7ed786b8e0efdc1f9007f6491f4ad1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A1=97=E8=A7=92=E5=B0=8F=E6=9E=97?= <1013335014@qq.com> Date: Mon, 25 Dec 2023 09:36:06 +0800 Subject: [PATCH] =?UTF-8?q?Fix=EF=BC=9A=E4=BF=AE=E5=A4=8D=E5=BD=93?= =?UTF-8?q?=E8=8A=82=E7=82=B9=E6=95=B0=E9=87=8F=E6=AF=94=E8=BE=83=E5=A4=9A?= =?UTF-8?q?=E6=97=B6=EF=BC=8C=E5=AF=BC=E5=87=BA=E7=9A=84=E5=9B=BE=E7=89=87?= =?UTF-8?q?=E4=B8=AD=E6=B0=B4=E5=8D=B0=E6=B2=A1=E6=9C=89=E5=AE=8C=E5=85=A8?= =?UTF-8?q?=E8=A6=86=E7=9B=96=E6=95=B4=E4=B8=AA=E5=9B=BE=E7=89=87=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 --- simple-mind-map/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/simple-mind-map/index.js b/simple-mind-map/index.js index 572a50d2..e869dd6c 100644 --- a/simple-mind-map/index.js +++ b/simple-mind-map/index.js @@ -416,11 +416,11 @@ class MindMap { ) { this.width = rect.width this.height = rect.height - this.watermark.draw() + this.watermark.onResize() clone = svg.clone() this.width = origWidth this.height = origHeight - this.watermark.draw() + this.watermark.onResize() } // 添加必要的样式 clone.add(SVG(``))