diff --git a/index.html b/index.html index cd6d190..6f888bc 100644 --- a/index.html +++ b/index.html @@ -11,6 +11,6 @@
- + diff --git a/src/views/counter/map2.vue b/src/views/counter/map2.vue index c40e88a..22f29c9 100644 --- a/src/views/counter/map2.vue +++ b/src/views/counter/map2.vue @@ -163,12 +163,7 @@ export default { if (this.coordinate === null) { this.coordinate = [113.203460828994, 22.64902452257] } - const map = new AMap.Map('map-container', { - // center: this.coordinate, - center: [113.203460828994, 22.64902452257], - resizeEnable: true, - zoom: 13 - }) + const map = new AMap.Map('map-container') const drivingOptions = { map: map, // city: '中山市',