|
@@ -3,9 +3,9 @@
|
|
|
<template #default="{ Component, route }">
|
|
<template #default="{ Component, route }">
|
|
|
<transition :name="getTransitionName" appear mode="out-in">
|
|
<transition :name="getTransitionName" appear mode="out-in">
|
|
|
<keep-alive v-if="keepAliveComponents" :include="keepAliveComponents">
|
|
<keep-alive v-if="keepAliveComponents" :include="keepAliveComponents">
|
|
|
- <component :is="Component" :key="route.fullPath" />
|
|
|
|
|
|
|
+ <component :is="Component" :key="route.hash" />
|
|
|
</keep-alive>
|
|
</keep-alive>
|
|
|
- <component :is="Component" v-else :key="route.fullPath" />
|
|
|
|
|
|
|
+ <component :is="Component" v-else :key="route.hash" />
|
|
|
</transition>
|
|
</transition>
|
|
|
</template>
|
|
</template>
|
|
|
</RouterView>
|
|
</RouterView>
|