|
|
@ -190,7 +190,7 @@ function loadAMapSDK() { |
|
|
|
const script = document.createElement("script"); |
|
|
|
script.type = "text/javascript"; |
|
|
|
script.async = true; |
|
|
|
script.src = `https://webapi.amap.com/maps?v=2.0&key=${process.env.VUE_APP_AMAP_KEY}&plugin=AMap.Geocoder,AMap.PlaceSearch&callback=initAMap`; |
|
|
|
script.src = `https://webapi.amap.com/maps?v=2.0&key=8b6b7a05f40d067af88f6f211412984e&plugin=AMap.Geocoder,AMap.PlaceSearch&callback=initAMap`; |
|
|
|
script.onerror = reject; |
|
|
|
document.head.appendChild(script); |
|
|
|
}); |
|
|
|