杨磊
2024-06-12 71e6a0857c5f411b8b8df3df4102cc32e7d32ba1
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'