派生自 wuyushui/SewerAndRainNetwork

chenyabin
2021-05-18 cff26f71d5665f9134f8906abbd87f75126d7509
src/main.js
@@ -8,13 +8,19 @@
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
@@ -23,6 +29,8 @@
Vue.prototype.L = L
Vue.prototype.$config = appConfig
Vue.prototype.$echarts = echarts // 挂载echarts
window.Vue = Vue
window.$layer = layer(Vue)
// 注册指令7
// registerDirectives(Vue)