Browse Source

地址取值

dev
巴林闲侠 2 years ago
parent
commit
298885ebb9
  1. 2
      weapp/src/packages/patrol/index.jsx

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

@ -156,7 +156,7 @@ const Index = () => {
// addresscity = res.data.result.formatted_addresses.standard_address
let street = res.data.result.address_component.street
setRoad(street)
setAddress(addresscity)
setAddress(res.data.result.formatted_addresses.standard_address)
}
})
}

Loading…
Cancel
Save