From 040daecbc9bf04074c3f7053ea1710f380c03ea1 Mon Sep 17 00:00:00 2001
From: YM <479443481@qq.com>
Date: 星期五, 26 七月 2024 11:40:48 +0800
Subject: [PATCH] 1

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

diff --git a/src/main.js b/src/main.js
index ceccae7..f211448 100644
--- a/src/main.js
+++ b/src/main.js
@@ -6,7 +6,12 @@
 // 寮曞叆elementUI寮�鍙�
 import ElementUI from 'element-ui';
 import 'element-ui/lib/theme-chalk/index.css';	
+import 'leaflet/dist/leaflet.css'
+import icon from "leaflet/dist/images/marker-icon.png" // 寮曞叆leaflet榛樿鍥炬爣
+import iconShadow from "leaflet/dist/images/marker-shadow.png" // 寮曞叆leaflet榛樿鍥炬爣
 
+Vue.prototype.icoName = icon
+Vue.prototype.iconShadowName = iconShadow
 Vue.use(ElementUI);
 App.mpType = 'app'
 

--
Gitblit v1.9.1