From 587d25c4a1d1a5d240e7750aa0c043a702a737d5 Mon Sep 17 00:00:00 2001 From: QYF-GitLab1 <1940665526@qq.com> Date: 星期四, 18 七月 2024 10:47:30 +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