refactor: ♻️ 页面过渡动画效果优化

This commit is contained in:
ray
2025-01-08 14:18:06 +08:00
parent ea5e723004
commit cf56a35575
3 changed files with 3 additions and 3 deletions

View File

@@ -2,7 +2,7 @@
<section class="app-main" :style="{ height: appMainHeight }">
<router-view>
<template #default="{ Component, route }">
<transition name="el-fade-in">
<transition name="el-fade-in-linear" mode="out-in">
<keep-alive :include="cachedViews">
<component :is="Component" :key="route.path" />
</keep-alive>