Browse Source

取消精确定位

dev
巴林闲侠 1 year ago
parent
commit
f5adc1055e
  1. 3
      weapp/src/packages/patrol/index.jsx

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

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

Loading…
Cancel
Save