From dfdcca599b595c7340b31ee7cd5878f29a3268eb Mon Sep 17 00:00:00 2001
From: fuchengshen <men883234@gmail.com>
Date: 星期五, 15 七月 2022 16:34:15 +0800
Subject: [PATCH] 更改厂区模型

---
 src/main.ts |   26 ++++++++++++++++----------
 1 files changed, 16 insertions(+), 10 deletions(-)

diff --git a/src/main.ts b/src/main.ts
index 7c1817f..135079f 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -4,6 +4,7 @@
 // cool
 import { bootstrap } from "./cool";
 
+
 // router
 import router from "./router";
 
@@ -23,21 +24,26 @@
 // echarts
 import VueECharts from "vue-echarts";
 
+import io from 'socket.io-client'
+import { Vue } from "vue-demi";
+
+
+
 const app = createApp(App);
 
 bootstrap(app)
-	.then(() => {
-		// echarts 鍙鍥捐〃
-		app.component("v-chart", VueECharts);
+  .then(() => {
+    // echarts 鍙鍥捐〃
+    app.component("v-chart", VueECharts);
 
-		// 浜嬩欢閫氳
-		app.provide("mitt", mitt());
+    // 浜嬩欢閫氳
+    app.provide("mitt", mitt());
 
-		app.use(store).use(router).use(ElementPlus).mount("#app");
-	})
-	.catch((err: string) => {
-		console.error(`COOL-ADMIN 鍚姩澶辫触`, err);
-	});
+    app.use(store).use(router).use(ElementPlus).mount("#app");
+  })
+  .catch((err: string) => {
+    console.error(`COOL-ADMIN 鍚姩澶辫触`, err);
+  });
 
 // 搴旂敤鍔犺浇
 store.dispatch("appLoad");

--
Gitblit v1.9.1