|
|
@ -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) |
|
|
|
} |
|
|
|
}) |
|
|
|
} |
|
|
|