Skip to content

Commit 1bce49c

Browse files
committed
revert: 回滚移除 <Suspense>
1 parent 52c1bb4 commit 1bce49c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/layouts/index.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,7 @@ const enableAppSetting = import.meta.env.VITE_APP_SETTING
111111
<RouterView v-slot="{ Component, route }">
112112
<Transition :name="!settingsStore.isReloading ? 'slide-right' : ''" mode="out-in">
113113
<KeepAlive :include="keepAliveStore.list">
114-
<Suspense>
115-
<component :is="Component" v-show="!isLink" :key="route.fullPath" />
116-
</Suspense>
114+
<component :is="Component" v-show="!isLink" :key="route.fullPath" />
117115
</KeepAlive>
118116
</Transition>
119117
</RouterView>

0 commit comments

Comments
 (0)