import Vue from 'vue' import 'normalize.css/normalize.css' // A modern alternative to CSS resets import ElementUI from 'element-ui' import 'element-ui/lib/theme-chalk/index.css' import '@/styles/index.scss' // global css import App from './App' import store from './store' import router from './router' import '@/icons' // icon import '@/permission' // permission control import '@/checkPermission' //按钮权限 全局自定义指令v-is // import lodash import _ from 'lodash' Vue.prototype._ = _ Vue.prototype.doesJobShow = PLATFROM_CONFIG.doesJobShow Vue.prototype.accountGroupType = PLATFROM_CONFIG.accountGroupType // import echarts import * as echarts from 'echarts' import Vue2OrgTree from 'vue2-org-tree' import 'vue2-org-tree/dist/style.css' Vue.use(Vue2OrgTree) Vue.use(ElementUI) Vue.prototype.$echarts = echarts Vue.config.productionTip = false new Vue({ router, store, render: (h) => h(App) }).$mount('#app')