Browse Source

开启精确定位

dev
巴林闲侠 1 year ago
parent
commit
23b59303ee
  1. 4
      weapp/src/packages/patrol/index.jsx

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

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

Loading…
Cancel
Save