perf: remove tooltip alive when mouse over the icon button (#284)

This commit is contained in:
Lykin 2024-06-17 10:20:03 +08:00
parent bf71c6db0e
commit 1bcde26e35
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ const hasTooltip = computed(() => {
</script>
<template>
<n-tooltip v-if="hasTooltip" :delay="tooltipDelay" :show-arrow="false">
<n-tooltip v-if="hasTooltip" :delay="tooltipDelay" :keep-alive-on-hover="false" :show-arrow="false">
<template #trigger>
<n-button
:class="props.buttonClass"