Skip to content

Commit 664114b

Browse files
committed
回滚移除 <Suspense>
1 parent bd430e2 commit 664114b

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-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>

src/views/component_built_in_example/button.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ meta:
2929
<FaButton disabled>
3030
按钮
3131
</FaButton>
32+
<FaButton loading>
33+
按钮
34+
</FaButton>
3235
</div>
3336
</FaPageMain>
3437
</div>

0 commit comments

Comments
 (0)