From 5b2a25025b4426b969f01883201138a51f8b5837 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期五, 01 十二月 2023 11:38:35 +0800
Subject: [PATCH] 公共图表头部组件开发+安装echarts 全局引入

---
 src/main.js |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/main.js b/src/main.js
index 6144894..e300e3a 100644
--- a/src/main.js
+++ b/src/main.js
@@ -4,14 +4,17 @@
 import store from "./store"
 import ElementUI from "element-ui"
 import "element-ui/lib/theme-chalk/index.css"
-
+import * as echarts from 'echarts'
 Vue.config.productionTip = false
 
 // import Element from "element-ui"
 // Vue.use(Element, { size: "small", zIndex: 3000 })
-
+// 闃叉杩炵画鐐瑰嚮
+// 鍏ㄥ眬鎸囦护
+import { preventReClick } from "@/api/global-directives";
+Vue.use(preventReClick);
 Vue.use(ElementUI)
-
+Vue.use(echarts)
 new Vue({
   router,
   store,

--
Gitblit v1.8.0