From 6aa71248557c3f3624fbaf291ac7e1d2222e3d3f Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期三, 08 二月 2023 16:36:22 +0800
Subject: [PATCH] vue3

---
 main.js |   20 +++-----------------
 1 files changed, 3 insertions(+), 17 deletions(-)

diff --git a/main.js b/main.js
index 5268395..219e247 100644
--- a/main.js
+++ b/main.js
@@ -1,23 +1,9 @@
 import App from './App'
-
-// #ifndef VUE3
-import Vue from 'vue'
-Vue.prototype.baseHttp = 'http://'
-Vue.prototype.basePort = '8080'
-Vue.config.productionTip = false
-App.mpType = 'app'
-const app = new Vue({
-    ...App
-})
-app.$mount()
-// #endif
-
-// #ifdef VUE3
 import { createSSRApp } from 'vue'
+// 涓嶈兘淇敼瀵煎嚭鐨� createApp 鏂规硶鍚嶏紝涓嶈兘淇敼浠� Vue 涓鍏ョ殑 createSSRApp銆�
 export function createApp() {
   const app = createSSRApp(App)
   return {
-    app
+      app
   }
-}
-// #endif
\ No newline at end of file
+}
\ No newline at end of file

--
Gitblit v1.9.1