From b7302feb8633f260ee1db639e561a6de8cf9d782 Mon Sep 17 00:00:00 2001 From: "gao.zhiyuan" Date: Thu, 6 Jul 2023 18:14:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=B0=E5=9D=80=E5=8F=96=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- weapp/src/packages/patrol/index.jsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/weapp/src/packages/patrol/index.jsx b/weapp/src/packages/patrol/index.jsx index ac6dc8a8..d7e752ae 100644 --- a/weapp/src/packages/patrol/index.jsx +++ b/weapp/src/packages/patrol/index.jsx @@ -152,11 +152,12 @@ const Index = () => { res.data.result.address_component.province + res.data.result.address_component.city + res.data.result.address_component.district - + res.data.result.address_component.street_number + // + res.data.result.address_component.street_number + + res.data.result.address_component.street // addresscity = res.data.result.formatted_addresses.standard_address let street = res.data.result.address_component.street setRoad(street) - setAddress(res.data.result.formatted_addresses.standard_address) + setAddress(addresscity) } }) }