import{f as o}from"./vendor-@vue.d54eea3a.js";var p=o({mounted(){this.loadMapScript()},methods:{init(){const t=window.BMap,e=new t.Map("bd_map_d");e.centerAndZoom(new t.Point(104.04263635868074,30.556100647961866),11),e.setCurrentCity("\u6210\u90FD")},loadMapScript(){const t=document.createElement("script");t.type="text/javascript",t.className="loadmap",t.src="https://api.map.baidu.com/getscript?v=3.0&ak=e6R1anPFG3pxQxKot9ANZE65jmQBloFc",t.onload=()=>{this.init()};const e=document.getElementsByClassName("loadmap");if(e)for(let a=0;a<e.length;a++)document.body.removeChild(e[a]);document.body.appendChild(t)}}});export{p as default};
