From 4cffa15b0abf94067938db9694a08e2c7bfadf3d Mon Sep 17 00:00:00 2001 From: chenyabin <Chenab123!> Date: 星期五, 14 五月 2021 11:21:23 +0800 Subject: [PATCH] 图例部分图标替换1 --- 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