From e1aa0ecffbabd618c71e4ad94370fb8dffe6ee1c Mon Sep 17 00:00:00 2001 From: zhanghua <314079846@qq.com> Date: 星期日, 21 一月 2024 20:54:49 +0800 Subject: [PATCH] 优化 --- src/components/map/index.vue | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/src/components/map/index.vue b/src/components/map/index.vue index 3377fbe..838a51d 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({ @@ -62,7 +62,6 @@ console.log(e); }); // const that = this; - // debugger // that.map.setZoomAndCenter(that._zoom, [that._point.x, that._point.y]); // if (that.mark) { // // 鍒涘缓涓�涓� Marker 瀹炰緥锛� -- Gitblit v1.8.0