This commit is contained in:
李志鹏
2025-09-24 13:10:39 +08:00
parent 6b3a3b080d
commit 6ddff8be5b

View File

@@ -79,10 +79,10 @@ onMounted(() => {
})
onUnmounted(() => {
if(props.tipBody){
if(props.tipBody && el.value){
el.value.removeEventListener('mouseenter', handleMouseEnter);
el.value.removeEventListener('mouseleave', handleMouseLeave);
}
}
})
</script>