fix(theme): incorrect scroll behavior when route.hash changed

This commit is contained in:
pengzhanbo 2024-09-09 00:18:07 +08:00
parent 1d09eb4183
commit 3d3b49da57

View File

@ -18,7 +18,7 @@ const enabledTransition = computed(() => {
v-if="enabledTransition"
name="fade-slide-y"
mode="out-in"
@before-enter="onBeforeEnter"
@after-enter="onBeforeEnter"
@before-leave="onBeforeLeave"
>
<slot />