派生自 wuyushui/SewerAndRainNetwork

seatonwan9
2021-05-31 d4fca49a4b70fe60c730d7e32e2035153a91fcc5
src/main.js
@@ -18,6 +18,9 @@
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
@@ -26,7 +29,9 @@
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)