gaoluyang
3 天以前 7eebd7981c1f5d2c569556d1e87f7818cef18cce
src/App.vue
对比新文件
@@ -0,0 +1,23 @@
<template>
  <Splash v-if="showSplash" />
   <div v-else>
    <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)
})
</script>
<style lang="scss">
@import "uview-plus/index.scss";
@import '@/static/scss/index.scss';
</style>