From 21c0837e6f96ada513d3bd5210d96f8ff8681c5d Mon Sep 17 00:00:00 2001
From: chenyibo <p-honggang.li@pcitc.com>
Date: 星期五, 02 四月 2021 14:19:53 +0800
Subject: [PATCH] 1.修改随机获取天地图token 问题

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

diff --git a/src/main.js b/src/main.js
index f174d4a..4c254ad 100644
--- a/src/main.js
+++ b/src/main.js
@@ -15,12 +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