From dd1f49d08fd83a900c08eb87c78a6d56b3ee3a50 Mon Sep 17 00:00:00 2001 From: chenyabin <Chenab123!> Date: 星期二, 11 五月 2021 10:36:23 +0800 Subject: [PATCH] 图层控制联动效果。 --- 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