Browse Source

fix(watermark): modify dom properties to regenerate (#7149)

Co-authored-by: “Jevin” <jevin@mogul-tech.com>
feat-4.1
Jevin 11 months ago committed by GitHub
parent
commit
0e6fd652b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      components/watermark/index.tsx

2
components/watermark/index.tsx

@ -237,6 +237,8 @@ const Watermark = defineComponent({
}; };
useMutationObserver(containerRef, onMutate, { useMutationObserver(containerRef, onMutate, {
attributes: true, attributes: true,
subtree: true,
childList: true,
}); });
return () => { return () => {
return ( return (

Loading…
Cancel
Save