2021-12-10 14:11:49 +08:00
|
|
|
<template>
|
2021-12-16 13:33:04 +08:00
|
|
|
<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>
|
2021-12-16 13:33:04 +08:00
|
|
|
</router-view>
|
2021-12-10 14:11:49 +08:00
|
|
|
</template>
|