src/main.js
@@ -15,12 +15,13 @@ 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 // 注册指令7 // registerDirectives(Vue)