20260802220544

This commit is contained in:
oneao committed 2026-08-02 22:05:44 +08:00
1 parent c00329b5a4
commit 4fc9040a8a
60 files changed
+6273 -908

No files matched your search

@@ -28,9 +28,11 @@ const routeInstanceKey = computed(
<a-layout-content class="app-content">
<router-view v-slot="{ Component }">
<transition name="slide" mode="out-in">
<keep-alive :max="8">
<component :is="Component" :key="routeInstanceKey" />
</keep-alive>
<div :key="routeInstanceKey" class="route-content-wrap">
<keep-alive :max="8">
<component :is="Component" :key="routeInstanceKey" />
</keep-alive>
</div>
</transition>
</router-view>
</a-layout-content>
@@ -83,6 +85,10 @@ const routeInstanceKey = computed(
padding: 6px;
}
.route-content-wrap {
height: 100%;
}
.slide-enter-active,
.slide-leave-active {
transition: