src/components/map/index.vue
@@ -27,7 +27,7 @@ // console.log("_zoom---", that.zoom); // console.log("_point---", JSON.stringify(that.point)); that.map.setZoomAndCenter(that._zoom, [that.point.x, that.point.y]); that.map.setZoomAndCenter(that.zoom, [that.point.x, that.point.y]); if (that.mark) { // 创建一个 Marker 实例: var marker = new AMap.Marker({