flat: 搜索
This commit is contained in:
@@ -232,8 +232,8 @@
|
||||
longitude: 104.397894,
|
||||
covers: [{ //marker标记位置
|
||||
id: 0,
|
||||
latitude: 0,
|
||||
longitude: 0,
|
||||
latitude: 31.126855,
|
||||
longitude: 104.397894,
|
||||
// width:30,
|
||||
// height:30,
|
||||
iconPath: '../../static/img/location.png'
|
||||
@@ -323,10 +323,10 @@
|
||||
smart_address: res.data.data.address
|
||||
}).then((result) => {
|
||||
console.log('result', result)
|
||||
self.latitude = result.lat;
|
||||
self.longitude = result.lon;
|
||||
self.covers[0].latitude = result.lat;
|
||||
self.covers[0].longitude = result.lon;
|
||||
self.latitude = result.location.lat;
|
||||
self.longitude = result.location.lon;
|
||||
self.covers[0].latitude = result.location.lat;
|
||||
self.covers[0].longitude = result.location.lon;
|
||||
})
|
||||
// self.latitude = self.info.lat;
|
||||
// self.longitude = self.info.lon;
|
||||
|
||||
Reference in New Issue
Block a user