kumu 7 месяцев назад
Родитель
Сommit
78a9d01ec7
1 измененных файлов с 1 добавлено и 3 удалено
  1. 1 3
      src/App.vue

+ 1 - 3
src/App.vue

@@ -5,9 +5,7 @@ const theme = ref<'light' | 'dark'>('dark');
 <template>
   <van-config-provider :theme>
     <router-view class="page-container" v-slot="{ Component }">
-      <keep-alive>
-        <component :is="Component" />
-      </keep-alive>
+      <component :is="Component" />
     </router-view>
   </van-config-provider>
 </template>