From 0e6fd652b84151564a842c2e344d411a113ef447 Mon Sep 17 00:00:00 2001 From: Jevin <69580637+Jevin0@users.noreply.github.com> Date: Mon, 18 Dec 2023 11:29:27 +0800 Subject: [PATCH] fix(watermark): modify dom properties to regenerate (#7149) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: “Jevin” --- components/watermark/index.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/watermark/index.tsx b/components/watermark/index.tsx index 87536916e..134109a62 100644 --- a/components/watermark/index.tsx +++ b/components/watermark/index.tsx @@ -237,6 +237,8 @@ const Watermark = defineComponent({ }; useMutationObserver(containerRef, onMutate, { attributes: true, + subtree: true, + childList: true, }); return () => { return (