From a3a0083ab18c8b4f0dad49ecbc67275df1896f5d Mon Sep 17 00:00:00 2001 From: yangdelong <828900aaa> Date: 星期一, 19 四月 2021 12:38:03 +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