From 0a8e4f9371a403db92f2894a78363600e5583908 Mon Sep 17 00:00:00 2001 From: zhanghua <314079846@qq.com> Date: 星期四, 15 十二月 2022 22:12:08 +0800 Subject: [PATCH] 优化 --- src/components/map/index.vue | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/components/map/index.vue b/src/components/map/index.vue index 3377fbe..f16b949 100644 --- a/src/components/map/index.vue +++ b/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({ -- Gitblit v1.8.0