From 46e801346b354c3f0a8372d0f4c451c9b4c6ca30 Mon Sep 17 00:00:00 2001 From: xianfuxing Date: Tue, 28 Aug 2018 18:12:36 +0800 Subject: [PATCH] # up events --- src/views/counter/map.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/views/counter/map.vue b/src/views/counter/map.vue index 5617b03..a1a23f3 100644 --- a/src/views/counter/map.vue +++ b/src/views/counter/map.vue @@ -6,6 +6,7 @@ v-for="(marker, index) in markers" :key="index" :position="marker.position" + :events="marker.events" :visible="marker.visible" :draggable="marker.draggable" :vid="index" > @@ -86,7 +87,6 @@ export default { this.deviceList = response.data.results // console.log(this.deviceList) this.coordinate = this.deviceList[0].coordinate - console.log('coor', this.coordinate) if (this.coordinate === null) { this.coordinate = [113.203460828994, 22.64902452257] } @@ -98,7 +98,6 @@ export default { marker.events = defaultEvents this.markers.push(marker) this.center = this.coordinate - console.log(this.deviceList, marker) this.flag = true }) }