File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -38,8 +38,8 @@ const routes = [
38
38
39
39
``` html
40
40
<router-view v-slot =" { Component, route }" >
41
- <!-- Use any custom transition and fallback to `fade` -->
42
- <transition :name =" route.meta.transition || 'fade'" >
41
+ <!-- Use any custom transition and to `fade` -->
42
+ <transition :name =" route.meta.transitionName || 'fade'" >
43
43
<component :is =" Component" />
44
44
</transition >
45
45
</router-view >
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ const routes = [
39
39
``` html
40
40
<router-view v-slot =" { Component, route }" >
41
41
<!-- 使用任何自定义过渡和回退到 `fade` -->
42
- <transition :name =" route.meta.transition || 'fade'" >
42
+ <transition :name =" route.meta.transitionName || 'fade'" >
43
43
<component :is =" Component" />
44
44
</transition >
45
45
</router-view >
@@ -52,7 +52,7 @@ const routes = [
52
52
``` html
53
53
<!-- 使用动态过渡名称 -->
54
54
<router-view v-slot =" { Component, route }" >
55
- <transition :name =" route.meta.transition " >
55
+ <transition :name =" route.meta.transitionName " >
56
56
<component :is =" Component" />
57
57
</transition >
58
58
</router-view >
You can’t perform that action at this time.
0 commit comments