From 42a5c3a7bf9f65d4003d800b6efa3769018f1bc3 Mon Sep 17 00:00:00 2001 From: 陈泽平 <chenzeping> Date: 星期日, 30 五月 2021 17:42:19 +0800 Subject: [PATCH] 企业应急-事件上报-定位图标清除问题修改 --- src/main.js | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/src/main.js b/src/main.js index f174d4a..621ab68 100644 --- a/src/main.js +++ b/src/main.js @@ -8,19 +8,30 @@ import echartsDarkTheme from '@/styles/theme-dark/echarts/theme.json' import ElementUI from 'element-ui' import 'element-ui/lib/theme-chalk/index.css' +import '@assets/css/iconfont/iconfont.css' import '@assets/css/map/_map-variable.less' import '@assets/css/map/map-panel-style.less' + import 'leaflet/dist/leaflet.css' import L from 'leaflet' import '@/utils/dialogDrag.js' import '@components/plugin/leaflet-measure-path/leaflet-measure-path.css' import '@components/plugin/leaflet-measure-path/leaflet-measure-path' +import '@components/plugin/PathDrag' +// import '@components/plugin/flowline' +import layer from './components/layer' +const appConfig = require('@/app.config') Vue.config.productionTip = false Vue.use(ElementUI) Vue.prototype.$cancels = [] Vue.prototype.L = L +Vue.prototype.$config = appConfig +Vue.prototype.$echarts = echarts // 鎸傝浇echarts +window.echarts = echarts +window.Vue = Vue +window.$layer = layer(Vue) // 娉ㄥ唽鎸囦护7 // registerDirectives(Vue) -- Gitblit v1.8.0