mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-21 01:02:59 +08:00
fix(components): [tag] make stubbed Transition work in tests (#18928)
This commit is contained in:
parent
5d54ece420
commit
76a586d62e
@ -75,6 +75,9 @@ const handleClick = (event: MouseEvent) => {
|
||||
|
||||
const handleVNodeMounted = (vnode: VNode) => {
|
||||
// @ts-ignore
|
||||
vnode.component.subTree.component.bum = null
|
||||
if (vnode?.component?.subTree?.component?.bum) {
|
||||
// @ts-ignore
|
||||
vnode.component.subTree.component.bum = null
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user