From 8207882825e81313cfd5af74b3d30a1414a908ba Mon Sep 17 00:00:00 2001
From: whycq <913841844@qq.com>
Date: 星期一, 13 二月 2023 18:11:25 +0800
Subject: [PATCH] #
---
main.js | 30 ++++++++----------------------
1 files changed, 8 insertions(+), 22 deletions(-)
diff --git a/main.js b/main.js
index fe3cac4..e7e19e2 100644
--- a/main.js
+++ b/main.js
@@ -1,25 +1,11 @@
import App from './App'
-
-// #ifndef VUE3
-import Vue from 'vue'
-// Vue.prototype.baseUrl = "http://localhost:8081/acs"
-Vue.prototype.baseHttp = 'http://'
-Vue.prototype.basePort = '8080'
-Vue.prototype.baseUrl = '/wms'
-Vue.config.productionTip = false
-App.mpType = 'app'
-const app = new Vue({
- ...App
-})
-app.$mount()
-// #endif
-
-// #ifdef VUE3
-import { createSSRApp } from 'vue'
+import {
+ createSSRApp
+} from 'vue'
+// 涓嶈兘淇敼瀵煎嚭鐨� createApp 鏂规硶鍚嶏紝涓嶈兘淇敼浠� Vue 涓鍏ョ殑 createSSRApp銆�
export function createApp() {
- const app = createSSRApp(App)
- return {
- app
- }
+ const app = createSSRApp(App)
+ return {
+ app
+ }
}
-// #endif
\ No newline at end of file
--
Gitblit v1.9.1