12 lines
299 B
Vue
Raw Normal View History

2021-12-10 14:11:49 +08:00
<template>
<RouterView>
<template #default="{ Component, route }">
<transition name="zoom-fade" mode="out-in" appear>
<keep-alive>
<component :is="Component" :key="route.fullPath" />
</keep-alive>
</transition>
</template>
</RouterView>
</template>