派生自 wuyushui/SewerAndRainNetwork

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