mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-05 04:37:47 +08:00
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:
parent
b0cdf9abb9
commit
6594757abf
@ -225,5 +225,7 @@ const onMutate = (mutations: MutationRecord[]) => {
|
||||
|
||||
useMutationObserver(containerRef, onMutate, {
|
||||
attributes: true,
|
||||
subtree: true,
|
||||
childList: true,
|
||||
})
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user