From 36fbd1e5a40e319e6ac5f43d11c99ba4b66e93a3 Mon Sep 17 00:00:00 2001
From: surprise <15810472099@163.com>
Date: 星期三, 29 十一月 2023 16:50:16 +0800
Subject: [PATCH] 坡度分析下载修改

---
 src/main.ts |   24 +++++++++++++++++++++---
 1 files changed, 21 insertions(+), 3 deletions(-)

diff --git a/src/main.ts b/src/main.ts
index aef4816..0e9633a 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -3,12 +3,30 @@
 import router from "./router";
 import store from "./store";
 import ElementPlus from "element-plus";
+import locale from "element-plus/es/locale/lang/zh-cn";
 import "element-plus/dist/index.css";
-import "default-passive-events";
+// import "default-passive-events";
+import * as ElementPlusIconsVue from "@element-plus/icons-vue";
 //base css鏍峰紡
 import "./assets/css/global.css";
-
 //鑷�傚簲
 import "amfe-flexible/index";
+// import zhlocale from "element-plus/lib/locale/lang/zh-cn";
 
-createApp(App).use(ElementPlus).use(store).use(router).mount("#app");
+//绮掑瓙鐗规晥
+import VueParticles from "vue-particles";
+import Drag from "./utils/drag";
+import resizable from "./utils//resizable";
+const app = createApp(App);
+for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
+  app.component(key, component);
+}
+
+app
+  .use(ElementPlus, { locale })
+  .use(store)
+  .use(router)
+  .use(VueParticles)
+  .use(Drag)
+  .use(resizable)
+  .mount("#app");

--
Gitblit v1.9.3