| | |
| | | import store from './store' |
| | | import * as echarts from 'echarts' |
| | | |
| | | import { EventBus } from '@/eventBus/event-bus' |
| | | |
| | | import ElementUI from 'element-ui' |
| | | import 'element-ui/lib/theme-chalk/index.css' |
| | | |
| | |
| | | Vue.component(CollapseTransition.name, CollapseTransition) // 主要样式 |
| | | |
| | | global.DC = DC // 将DC提升到全局变量,方便在工程中直接使用 |
| | | // global.pcLayer = { |
| | | // areaLayer: null, |
| | | // // 左侧菜单 |
| | | // leftTagLayer: null, |
| | | // leftWayLayer: null, |
| | | // leftSceneLayer: null, |
| | | // leftMonitorLayer: null, |
| | | // leftActivityLayer: null, |
| | | // leftAedLayer: null, |
| | | // leftParkLayer: null, |
| | | // leftComeLayer: null, |
| | | // // 导航 |
| | | // campusStartLayer: null, |
| | | // campusEndLayer: null, |
| | | // campusRouteLayer: null |
| | | // } |
| | | global.viewer = null // 将viewer提升到全局变量,方便在工程中直接使用 |
| | | DC.accessToken = 'U2FsdGVkX19E68JwtuCiNYLQg2UETLoPcwbGWsp4SejjwWVGadfsVjxZ4AGTQDzle7IlVcGFE8ZNPxxFr5gOThfeJdsOCWDWe7gJPishuAw=' |
| | | global.echarts = echarts // 将DC提升到全局变量,方便在工程中直接使用 |
| | | |
| | |
| | | Vue.use(VueAxios, axios) |
| | | |
| | | Vue.config.productionTip = false |
| | | Vue.prototype.$EventBus = EventBus |
| | | |
| | | new Vue({ |
| | | router, |