From 1460aa1d5f2b5722d43ed31724594c006213bea7 Mon Sep 17 00:00:00 2001
From: huang <1532065656@qq.com>
Date: 星期五, 18 四月 2025 16:40:43 +0800
Subject: [PATCH] 看板2更新

---
 UI-Project/src/main.js |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/UI-Project/src/main.js b/UI-Project/src/main.js
index bec7957..cb42b7c 100644
--- a/UI-Project/src/main.js
+++ b/UI-Project/src/main.js
@@ -10,18 +10,23 @@
 import VXETable from 'vxe-table'
 import 'vxe-table/lib/style.css'
 import i18n from '@/lang'
-// import Echarts from "vue-echarts"
-import * as echarts from "echarts"
+import Echarts from "vue-echarts"
+import * as echarts from "echarts";
 // echarts.registerMap('china', china)
 // Vue.prototype.$echarts = echarts
 // app.component("v-chart", Echarts)
 // app.config.globalProperties.$echarts = echarts
 import * as ElementPlusIconsVue from '@element-plus/icons-vue'
 
+
 const app = createApp(App)
+app.component('v-chart', echarts)
+//app.config.globalProperties.$echarts = echarts
+
 for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
   app.component(key, component)
 }
+
 const pinia = createPinia()
 pinia.use(piniaPluginPersistedstate )
 app.use(VXETable)

--
Gitblit v1.8.0