gaoluyang
21 小时以前 91af6caf5a797bcc912e9a22656c97775bd4a198
src/App.vue
@@ -1,19 +1,18 @@
<template>
  <Splash v-if="showSplash" />
   <Splash v-if="showSplash" />
   <div v-else>
    <router-view />
  </div>
      <router-view />
   </div>
</template>
<script setup>
import { ref, onMounted } from 'vue'
import Splash from './components/Splash.vue'
const showSplash = ref(true)
onMounted(() => {
  setTimeout(() => {
    showSplash.value = false
  }, 5000)
   setTimeout(() => {
      showSplash.value = false
   }, 5000)
})
</script>