From 28b3be6343168d07d5bd3783fd01388a18e90b8c Mon Sep 17 00:00:00 2001
From: 徐旺旺 <11530253@qq.com>
Date: 星期二, 06 四月 2021 15:25:14 +0800
Subject: [PATCH] 修改图层控制配置

---
 src/main.js |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/main.js b/src/main.js
index e4615a1..4c254ad 100644
--- a/src/main.js
+++ b/src/main.js
@@ -15,13 +15,15 @@
 import '@/utils/dialogDrag.js'
 import '@components/plugin/leaflet-measure-path/leaflet-measure-path.css'
 import '@components/plugin/leaflet-measure-path/leaflet-measure-path'
-
+const appConfig = require('@/app.config')
 Vue.config.productionTip = false
 
 Vue.use(ElementUI)
 Vue.prototype.$cancels = []
 Vue.prototype.L = L
+Vue.prototype.$config = appConfig
 Vue.prototype.$echarts = echarts // 鎸傝浇echarts
+window.Vue = Vue
 // 娉ㄥ唽鎸囦护7
 // registerDirectives(Vue)
 

--
Gitblit v1.8.0