|
@@ -23,6 +23,7 @@ import * as ElementPlusIconsVue from '@element-plus/icons-vue'
|
|
|
|
|
|
import md5 from "js-md5"
|
|
|
import {createPinia} from 'pinia'
|
|
|
+import * as echarts from "echarts";
|
|
|
|
|
|
//全局弹出框组件
|
|
|
import jtpopup from './components/jt-popup/jt-popup.vue'
|
|
@@ -58,7 +59,7 @@ for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
|
|
|
app.config.globalProperties.$http = http
|
|
|
app.config.globalProperties.$md5 = md5
|
|
|
app.config.globalProperties.jt3dSDK = jt3dSDK
|
|
|
-
|
|
|
+app.config.globalProperties.$echarts = echarts
|
|
|
|
|
|
app.directive('drag', drag)
|
|
|
app.component("jt-popup",jtpopup)
|
|
@@ -74,4 +75,5 @@ app.use(router);
|
|
|
app.use(ElementPlus);
|
|
|
app.use(Print);
|
|
|
|
|
|
+
|
|
|
app.mount('#app');
|