fix: 处理动画引起的警报问题
This commit is contained in:
@@ -249,7 +249,7 @@ export default defineComponent({
|
||||
v-slots={{
|
||||
default: ({ Component, route }: any) => (
|
||||
<KeepAlive include={cachedViews.value}>
|
||||
<Transition name="page-fade-slide" mode="out-in">
|
||||
<Transition name="page-fade-slide">
|
||||
{Component ? h(Component, { key: route.path }) : null}
|
||||
</Transition>
|
||||
</KeepAlive>
|
||||
|
||||
Reference in New Issue
Block a user