|
@ -160,8 +160,8 @@ const Index = () => { |
|
|
Taro.getLocation({ |
|
|
Taro.getLocation({ |
|
|
// type: 'wgs84', |
|
|
// type: 'wgs84', |
|
|
type: 'gcj02', |
|
|
type: 'gcj02', |
|
|
// isHighAccuracy: true, |
|
|
isHighAccuracy: true, |
|
|
isHighAccuracy: false, |
|
|
// isHighAccuracy: false, |
|
|
highAccuracyExpireTime: 1000 * 6, |
|
|
highAccuracyExpireTime: 1000 * 6, |
|
|
success: function (res) { |
|
|
success: function (res) { |
|
|
setLongitude(res.longitude) |
|
|
setLongitude(res.longitude) |
|
|