We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf46fb9 commit e26fea2Copy full SHA for e26fea2
src/App.vue
@@ -34,10 +34,10 @@ const mode = computed(() => {
34
<template>
35
<van-config-provider :theme="mode">
36
<nav-bar />
37
- <router-view v-slot="{ Component, route }">
+ <router-view v-slot="{ Component }">
38
<section class="app-wrapper">
39
<keep-alive :include="keepAliveRouteNames">
40
- <component :is="Component" :key="route.name" />
+ <component :is="Component" />
41
</keep-alive>
42
</section>
43
</router-view>
0 commit comments