From 17e7836b1d0a7bd1a51d44ae071a88423a9f9370 Mon Sep 17 00:00:00 2001
From: chenzeping <ChenZeping02609@163.com>
Date: 星期一, 08 三月 2021 17:57:16 +0800
Subject: [PATCH] 添加工具栏功能

---
 src/main.js |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/src/main.js b/src/main.js
index 4de11ed..95591a3 100644
--- a/src/main.js
+++ b/src/main.js
@@ -1,3 +1,4 @@
+// import 'babel-polyfill'
 import Vue from 'vue'
 import App from './App.vue'
 import router from './router'
@@ -7,10 +8,15 @@
 import echartsDarkTheme from '@/styles/theme-dark/echarts/theme.json'
 import ElementUI from 'element-ui'
 import 'element-ui/lib/theme-chalk/index.css'
-
+import 'leaflet/dist/leaflet.css'
+import L from 'leaflet'
+import 'leaflet.markercluster'
+import 'leaflet-canvas-markers'
 Vue.config.productionTip = false
 
-Vue.use(ElementUI, { size: 'small' })
+Vue.use(ElementUI)
+Vue.prototype.$cancels = []
+Vue.prototype.L = L
 // 娉ㄥ唽鎸囦护
 // registerDirectives(Vue)
 

--
Gitblit v1.8.0