refactor(projects): 单独一级路由相关逻辑重构

This commit is contained in:
Soybean
2022-01-05 11:55:54 +08:00
parent b93b80cb4b
commit ab9a6a2f39
11 changed files with 87 additions and 26 deletions

View File

@ -1,7 +1,9 @@
<template>
<div class="h-full">
<router-view v-slot="{ Component }">
<component :is="Component" />
<transition name="fade-slide" mode="out-in" appear>
<component :is="Component" />
</transition>
</router-view>
</div>
</template>