From f920064ce42eaaa74311446c089ceb52d2830491 Mon Sep 17 00:00:00 2001
From: chenyincheng <501753378@qq.com>
Date: 星期四, 13 四月 2023 14:35:33 +0800
Subject: [PATCH] 34
---
src/App.vue | 13 ++++---------
1 files changed, 4 insertions(+), 9 deletions(-)
diff --git a/src/App.vue b/src/App.vue
index 326de6e..946379f 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -1,7 +1,10 @@
<script setup lang="ts">
// This starter template is using Vue 3 <script setup> SFCs
// Check out https://vuejs.org/api/sfc-script-setup.html#script-setup
-import HelloWorld from './components/HelloWorld.vue'
+import { onMounted } from "vue"
+ onMounted(()=>{
+ console.log('app点初始化')
+ })
</script>
<template>
@@ -11,12 +14,4 @@
</template>
<style>
-#app {
- /* font-family: Avenir, Helvetica, Arial, sans-serif;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- text-align: center;
- color: #2c3e50;
- margin-top: 60px; */
-}
</style>
--
Gitblit v1.8.0