src/main.js
@@ -13,13 +13,15 @@ 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' Vue.config.productionTip = false Vue.use(ElementUI) Vue.prototype.$cancels = [] Vue.prototype.L = L // 注册指令7 // 注册指令 // registerDirectives(Vue) // 注册echarts皮肤