Skip to content

Commit

Permalink
fix: Hide tooltip after route
Browse files Browse the repository at this point in the history
  • Loading branch information
ci010 committed May 5, 2023
1 parent 996ddfc commit 3bf9dd3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions xmcl-keystone-ui/src/components/SharedTooltip.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,10 @@
import { useSharedTooltipData } from '@/composables/sharedTooltip'
const { currentTooltip, x, y, isShown, color, left } = useSharedTooltipData()
const router = useRouter()
router.afterEach(() => {
isShown.value = false
})
</script>

0 comments on commit 3bf9dd3

Please sign in to comment.