perf: remove tooltip alive when mouse over the icon button (#284)
This commit is contained in:
parent
bf71c6db0e
commit
1bcde26e35
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue