src/main.js
@@ -15,13 +15,16 @@ 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' 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)