# bug fixed.
This commit is contained in:
parent
fc24c86728
commit
b50ef0fb6d
|
@ -61,7 +61,7 @@ export default {
|
|||
}
|
||||
],
|
||||
zoom: 16,
|
||||
center: [114.186739, 22.250872],
|
||||
center: [],
|
||||
markers: [],
|
||||
plugin: ['ToolBar', {
|
||||
pName: 'MapType',
|
||||
|
@ -90,6 +90,7 @@ export default {
|
|||
this.coordinate = [113.203460828994, 22.64902452257]
|
||||
}
|
||||
// console.log(this.coordinate)
|
||||
this.center = this.coordinate
|
||||
this.flag = true
|
||||
})
|
||||
}
|
||||
|
@ -110,6 +111,7 @@ export default {
|
|||
this.markers.push(entry)
|
||||
})
|
||||
this.zoom = 11
|
||||
this.center = [114.186739, 22.250872]
|
||||
this.flag = true
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue