feat: 集成 animate.css 动画,element-plus 内置动画过于单调

This commit is contained in:
ray
2025-02-13 20:30:11 +08:00
parent 8e31b8356b
commit cfdc8e0cc7
4 changed files with 8 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-linear" mode="out-in">
<transition enter-active-class="animate__animated animate__fadeIn" mode="out-in">
<keep-alive :include="cachedViews">
<component :is="Component" :key="route.path" />
</keep-alive>