From cd905f8e9df785bf59a537bea40de1f54433a566 Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Fri, 02 Apr 2021 12:06:03 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.105:10010/r/jfpt-Vue
---
src/main.js | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/src/main.js b/src/main.js
index a770281..eced8de 100644
--- a/src/main.js
+++ b/src/main.js
@@ -5,9 +5,11 @@
import router from './router/router';
import './permission'; // 权限
import './error'; // 日志
-import './cache';//页面缓存
+import './cache'; //页面缓存
import store from './store';
-import { loadStyle } from './util/util'
+import {
+ loadStyle
+} from './util/util'
import * as urls from '@/config/env';
import Element from 'element-ui';
import {
@@ -22,6 +24,8 @@
import avueUeditor from 'avue-plugin-ueditor';
import website from '@/config/website';
import crudCommon from '@/mixins/crud';
+import * as echarts from 'echarts';
+Vue.prototype.$echarts = echarts;
// 注册全局crud驱动
window.$crudCommon = crudCommon;
// 加载Vue拓展
@@ -58,4 +62,4 @@
store,
i18n,
render: h => h(App)
-}).$mount('#app');
\ No newline at end of file
+}).$mount('#app');
--
Gitblit v1.9.3