feat: 菜单增加单独的动画选择机制

This commit is contained in:
pixelmaxQM
2025-03-20 22:32:20 +08:00
parent 85681af8b8
commit cef6fce2c9
4 changed files with 51 additions and 21 deletions

View File

@@ -34,7 +34,7 @@
id="gva-base-load-dom"
class="gva-body-h bg-gray-50 dark:bg-slate-800"
>
<transition mode="out-in" :name="config.transition_type">
<transition mode="out-in" :name="route.meta.transitionType || config.transition_type">
<keep-alive :include="routerStore.keepAliveRouters">
<component :is="Component" :key="route.fullPath" />
</keep-alive>