From 9342d91f064ab3056d0fcfad5ad3f78833e8c536 Mon Sep 17 00:00:00 2001 From: y505174330 <505174330@qq.com> Date: 星期六, 18 五月 2024 17:20:14 +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