From ad6b695460dfcbca10ac010c1104aacd76e93535 Mon Sep 17 00:00:00 2001 From: chenyabin <Chenab123!> Date: 星期三, 31 三月 2021 18:04:43 +0800 Subject: [PATCH] 添加企业点图层 --- src/main.js | 16 ++++++++++------ 1 files changed, 10 insertions(+), 6 deletions(-) diff --git a/src/main.js b/src/main.js index e9343a2..4c254ad 100644 --- a/src/main.js +++ b/src/main.js @@ -1,4 +1,4 @@ -import 'babel-polyfill' +// import 'babel-polyfill' import Vue from 'vue' import App from './App.vue' import router from './router' @@ -8,18 +8,22 @@ 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/map/_map-variable.less' +import '@assets/css/map/map-panel-style.less' import 'leaflet/dist/leaflet.css' import L from 'leaflet' -import 'leaflet.markercluster' -// import 'leaflet-canvas-markers' -import './components/plugin/Leaflet.GridLayer.FadeOut' - -import './components/plugin/leaflet-canvas-markers' +import '@/utils/dialogDrag.js' +import '@components/plugin/leaflet-measure-path/leaflet-measure-path.css' +import '@components/plugin/leaflet-measure-path/leaflet-measure-path' +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.Vue = Vue // 娉ㄥ唽鎸囦护7 // registerDirectives(Vue) -- Gitblit v1.8.0