mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-04 20:27:44 +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