# title 使用设备名称显示
This commit is contained in:
parent
cc95c8d0ce
commit
e20af0e91e
|
@ -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())
|
||||
|
|
Loading…
Reference in New Issue