列表联调
This commit is contained in:
@@ -20,6 +20,7 @@ export const getCurrentLocation = (): Promise<LocationInfo> => {
|
||||
Taro.getLocation({
|
||||
type: 'wgs84',
|
||||
success: (res) => {
|
||||
console.log('===获取地理位置', res)
|
||||
// 使用逆地理编码获取地址信息
|
||||
reverseGeocode(res.latitude, res.longitude)
|
||||
.then(address => {
|
||||
|
||||
Reference in New Issue
Block a user