From 0f34d97b5c0c559b3d132bf1171de43a5ea9a596 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 04 九月 2025 17:43:25 +0800
Subject: [PATCH] 设备保养真机测试,bug修改

---
 src/App.vue |   27 +++++++++++++++------------
 1 files changed, 15 insertions(+), 12 deletions(-)

diff --git a/src/App.vue b/src/App.vue
index 462dc67..62ea239 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -1,16 +1,19 @@
-<script>
+<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'
 
-export default {
-	onLaunch: function () {
-		console.log('App Launch')
-	},
-	onShow: function () {
-		console.log('App Show')
-	},
-	onHide: function () {
-		console.log('App Hide')
-	}
-}
+const showSplash = ref(true)
+onMounted(() => {
+	setTimeout(() => {
+		showSplash.value = false
+	}, 5000)
+})
 </script>
 
 <style lang="scss">

--
Gitblit v1.9.3