ww664853070 2 years ago
parent
commit
e6cfff6954
  1. 4
      weapp/src/packages/patrol/index.jsx

4
weapp/src/packages/patrol/index.jsx

@ -174,8 +174,8 @@ const Index = () => {
res.data.result.address_component.province res.data.result.address_component.province
+ res.data.result.address_component.city + res.data.result.address_component.city
+ res.data.result.address_component.district + 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 // + res.data.result.address_component.street
// addresscity = res.data.result.formatted_addresses.standard_address // addresscity = res.data.result.formatted_addresses.standard_address
let street = res.data.result.address_component.street let street = res.data.result.address_component.street
setRoad(street) setRoad(street)

Loading…
Cancel
Save