Update App.vue

This commit is contained in:
Baobhan Sith
2025-05-16 14:05:28 +08:00
parent 8d0d1855ba
commit 162eb0cc91
+1 -1
View File
@@ -298,7 +298,7 @@ const isElementVisibleAndFocusable = (element: HTMLElement): boolean => {
<main>
<!-- 使用 KeepAlive 包裹 RouterView并指定缓存 WorkspaceView -->
<RouterView v-slot="{ Component }">
<KeepAlive include="WorkspaceView">
<KeepAlive :include="['WorkspaceView', 'ConnectionsView']">
<component :is="Component" />
</KeepAlive>
</RouterView>