南昌市物联网技防平台-前端
Administrator
2021-04-02 cd905f8e9df785bf59a537bea40de1f54433a566
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');
}).$mount('#app');