From 01413795feed90bf84afc4ceb520f52a6511cb6a Mon Sep 17 00:00:00 2001 From: QYF-GitLab1 <1940665526@qq.com> Date: 星期五, 26 七月 2024 11:36:20 +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