From ed7686a99c617a42eaded7d5fa63f192b5ee3ee8 Mon Sep 17 00:00:00 2001 From: weipengfei <2187978347@qq.com> Date: Mon, 6 Nov 2023 09:38:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=AE=9A=E4=BD=8D=E7=9A=84?= =?UTF-8?q?=E7=9A=84=E7=BB=8F=E7=BA=AC=E5=BA=A6=E7=B2=BE=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/nongKe/supply_chain/supplier.vue | 4 ++-- pages/supply_chains/supply_chains.vue | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pages/nongKe/supply_chain/supplier.vue b/pages/nongKe/supply_chain/supplier.vue index 4da8a13..e8b4720 100644 --- a/pages/nongKe/supply_chain/supplier.vue +++ b/pages/nongKe/supply_chain/supplier.vue @@ -779,8 +779,8 @@ let latitude, longitude; latitude = res.latitude.toString(); longitude = res.longitude.toString(); - this.latitude = res.latitude - this.longitude = res.longitude + this.latitude = res.latitude.toFixed(6); + this.longitude = res.longitude.toFixed(6); getGeocoder({ lat: latitude, long: longitude diff --git a/pages/supply_chains/supply_chains.vue b/pages/supply_chains/supply_chains.vue index 9df8807..d461c46 100644 --- a/pages/supply_chains/supply_chains.vue +++ b/pages/supply_chains/supply_chains.vue @@ -605,8 +605,8 @@ let latitude, longitude; latitude = res.latitude.toString(); longitude = res.longitude.toString(); - this.latitude = latitude; - this.longitude = longitude; + this.latitude = res.latitude.toFixed(6); + this.longitude = res.longitude.toFixed(6); getGeocoder({ lat: latitude, long: longitude