12 lines
305 B
Vue
Raw Normal View History

2021-12-10 14:11:49 +08:00
<template>
<router-view>
2021-12-10 14:11:49 +08:00
<template #default="{ Component, route }">
2021-12-16 20:08:05 +08:00
<transition name="list-complete" mode="out-in" appear>
2021-12-10 14:11:49 +08:00
<keep-alive>
<component :is="Component" :key="route.fullPath" />
</keep-alive>
</transition>
</template>
</router-view>
2021-12-10 14:11:49 +08:00
</template>