Commit 669b2c9b by 前端

111

1 parent d4cf01aa
......@@ -304,6 +304,8 @@ export default {
map = new AMap.Geocoder({})
// 返回地理编码结果
map.getLocation(addr, function (status, result) {
console.log('addr', addr);
console.log('result', result);
if (status === 'complete' && result.info === 'OK') {
// result中对应详细地理坐标信息
_this.provinceForm.lat = result.geocodes[0].location.lat
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!