From 667e2af2df5d3cd0ba09485536ba758e8e6ea74a Mon Sep 17 00:00:00 2001 From: liuye Date: Fri, 27 Oct 2023 15:19:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=B0=E5=9B=BE=E4=B8=AD=E5=BF=83=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../app/AppIntegratingSupermarket/components/AddStore.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/fengdu/app/AppIntegratingSupermarket/components/AddStore.vue b/project/fengdu/app/AppIntegratingSupermarket/components/AddStore.vue index 877c7ea0..caf680b8 100644 --- a/project/fengdu/app/AppIntegratingSupermarket/components/AddStore.vue +++ b/project/fengdu/app/AppIntegratingSupermarket/components/AddStore.vue @@ -308,7 +308,7 @@ this.map = new AMap.Map('map', { resizeEnable: true, zooms: [6, 20], - center: this.form.lng ? [this.form.lng, this.form.lat] : [this.lng, this.lat], + center: this.form.lng ? [this.form.lng, this.form.lat] : undefined, zoom: 11, }) this.placeSearch = new AMap.PlaceSearch({ map: this.map })