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 |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main.js b/src/main.js
index ec9e245..e300e3a 100644
--- a/src/main.js
+++ b/src/main.js
@@ -4,7 +4,7 @@
 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"
@@ -14,7 +14,7 @@
 import { preventReClick } from "@/api/global-directives";
 Vue.use(preventReClick);
 Vue.use(ElementUI)
-
+Vue.use(echarts)
 new Vue({
   router,
   store,

--
Gitblit v1.8.0