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

Co-authored-by: “Jevin” <jevin@mogul-tech.com>
feat-4.1
Jevin 2023-12-18 11:29:27 +08:00 committed by GitHub
parent 6625d39118
commit 0e6fd652b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

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