From 4a80ef5544ff210d9e0aaa4cb1eaf3dba8c39645 Mon Sep 17 00:00:00 2001 From: chenyabin <Chenab123!> Date: 星期四, 13 五月 2021 11:14:14 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/develop' into develop --- src/main.js | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/main.js b/src/main.js index 2d3203a..be81e98 100644 --- a/src/main.js +++ b/src/main.js @@ -18,6 +18,7 @@ import '@components/plugin/leaflet-measure-path/leaflet-measure-path.css' import '@components/plugin/leaflet-measure-path/leaflet-measure-path' import '@components/plugin/PathDrag' +import layer from './components/layer' const appConfig = require('@/app.config') Vue.config.productionTip = false @@ -27,6 +28,7 @@ Vue.prototype.$config = appConfig Vue.prototype.$echarts = echarts // 鎸傝浇echarts window.Vue = Vue +window.$layer = layer(Vue) // 娉ㄥ唽鎸囦护7 // registerDirectives(Vue) -- Gitblit v1.8.0