kumu 7 сар өмнө
parent
commit
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>