diff --git a/packages/components/tag/src/tag.vue b/packages/components/tag/src/tag.vue index 89be267299..f71a6b29d8 100644 --- a/packages/components/tag/src/tag.vue +++ b/packages/components/tag/src/tag.vue @@ -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 + } }