This commit is contained in:
vijay-huang 2020-05-25 14:38:12 +08:00
commit 5bad80e5cf
1 changed files with 2 additions and 1 deletions

View File

@ -266,7 +266,8 @@ export default {
map: this.map
})
item.title = '东岸灯饰工业区'
// item.title = ''
item.title = item.device_name
const infoWindow = this.instantiateInforWindow(item, true)
AMap.event.addListener(marker, 'click', () => {
infoWindow.open(this.map, marker.getPosition())