Skip to content

Commit b518318

Browse files
committed
chore: Remove 'appear' from transition component
1 parent 9aef8b1 commit b518318

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ provide('isRealDark', computed(() => theme.value === 'dark'))
2727
<template>
2828
<VanConfigProvider :theme="theme">
2929
<router-view v-slot="{ Component, route }">
30-
<transition :name="useRouteTransitionNameHook().routeTransitionName" appear>
30+
<transition :name="useRouteTransitionNameHook().routeTransitionName">
3131
<div :key="route.name" class="app-wrapper">
3232
<component :is="Component" v-if="Component" />
3333
</div>

src/components.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ declare module 'vue' {
1515
VanCellGroup: typeof import('vant/es')['CellGroup']
1616
VanConfigProvider: typeof import('vant/es')['ConfigProvider']
1717
VanEmpty: typeof import('vant/es')['Empty']
18+
VanLoading: typeof import('vant/es')['Loading']
1819
VanNavBar: typeof import('vant/es')['NavBar']
1920
VanSwitch: typeof import('vant/es')['Switch']
2021
VanTag: typeof import('vant/es')['Tag']

0 commit comments

Comments
 (0)