This commit is contained in:
MTrun
2021-12-10 14:11:49 +08:00
commit 535104447b
72 changed files with 5576 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
import MainView from './index.vue';
export { MainView };
+16
View File
@@ -0,0 +1,16 @@
<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>
<script lang="ts" setup>
import { defineProps} from 'vue'
const props = defineProps(['notNeedKey', 'animate'])
</script>