fix(components): [watermark] mutationObserver should work (#14822)

fix(components): mutationObserver should work

closed #14819

Co-authored-by: phoenizhao <phoenizhao@tencent.com>
This commit is contained in:
Fuphoenixes 2023-12-04 14:00:37 +08:00 committed by GitHub
parent b0cdf9abb9
commit 6594757abf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -225,5 +225,7 @@ const onMutate = (mutations: MutationRecord[]) => {
useMutationObserver(containerRef, onMutate, { useMutationObserver(containerRef, onMutate, {
attributes: true, attributes: true,
subtree: true,
childList: true,
}) })
</script> </script>