This commit is contained in:
yanran200730
2022-03-21 15:04:43 +08:00
parent d8e4916bbc
commit 19e3b730db
3 changed files with 151 additions and 139 deletions

View File

@@ -55,7 +55,6 @@ export default {
plugins: ['AMap.PlaceSearch', 'AMap.Marker', 'AMap.Geolocation'],
}).then(AMap => {
this.AMap = AMap
console.log(this.latlng)
this.map = new AMap.Map('amap', {
zoom: 14,
center: this.latlng ? [this.latlng.lng, this.latlng.lat] : ''