refactor: ♻️ 使用 Element-Plus 内置过渡动画替换 animate.css 动画库

This commit is contained in:
Ray.Hao
2025-01-04 23:36:58 +08:00
parent c51d3a744b
commit eda105b86f
4 changed files with 13 additions and 15 deletions

View File

@@ -1,6 +1,6 @@
<template>
<el-breadcrumb class="flex-y-center">
<transition-group enter-active-class="animate__animated animate__fadeInRight">
<transition-group name="el-fade-in-right">
<el-breadcrumb-item v-for="(item, index) in breadcrumbs" :key="item.path">
<span
v-if="item.redirect === 'noredirect' || index === breadcrumbs.length - 1"