src/components/map/index.vue @@ -17,6 +17,7 @@ }) .then((AMap) => { this.map = new AMap.Map("container"); this.map.setZoomAndCenter(15,['119.27179890', '28.59027084']); }) .catch((e) => { console.log(e);