Merge remote-tracking branch 'origin/build' into build

This commit is contained in:
aixianling
2022-11-09 11:54:27 +08:00
2 changed files with 3 additions and 1 deletions

View File

@@ -218,6 +218,7 @@ export default {
this.map = new AMap.Map('map', {
resizeEnable: true,
zooms: [6, 20],
center:[104.067923463,30.6799428454],
zoom: 11,
})
this.placeSearch = new AMap.PlaceSearch({ map: this.map })
@@ -276,7 +277,7 @@ export default {
zooms: [6, 20],
zoom: 11,
})
var marker = new AMap.Marker({
let marker = new AMap.Marker({
position: new AMap.LngLat(lng,lat),
title: address
})

View File

@@ -162,6 +162,7 @@ export default {
resizeEnable: true,
zooms: [6, 20],
zoom: 11,
center:[104.067923463, 30.6799428454],
})
this.placeSearch = new AMap.PlaceSearch({ map: this.map })
new AMap.AutoComplete({