diff --git a/src/layout/components/AppMain.vue b/src/layout/components/AppMain.vue index a223006..105bf4a 100644 --- a/src/layout/components/AppMain.vue +++ b/src/layout/components/AppMain.vue @@ -14,7 +14,7 @@ const key = computed(() => { <template> <section class="app-main"> <router-view v-slot="{ Component }"> - <transition name="fade-transform" mode="out-in"> + <transition name="el-fade-in" mode="out-in"> <keep-alive :include="tagsViewStore.cachedViews"> <component :is="Component" :key="key" /> </keep-alive> diff --git a/src/styles/transition.scss b/src/styles/transition.scss index bbd5238..dd845b9 100644 --- a/src/styles/transition.scss +++ b/src/styles/transition.scss @@ -1,4 +1,4 @@ -// See https://staging-cn.vuejs.org/guide/built-ins/transition.html for detail +// See https://cn.vuejs.org/guide/built-ins/transition.html for detail // fade-transform .fade-transform-leave-active,