소스 검색

获取经纬度参数更改

gcz 8 달 전
부모
커밋
9a2252fb47
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      pages/bookticket.vue

+ 1 - 1
pages/bookticket.vue

@@ -569,7 +569,7 @@ import {
 			getUserLocation() {
 			  return new Promise((resolve, reject) => {
 			    uni.getLocation({
-			      type: 'wgs84',
+			      type: 'gcj02',
 			      success: (res) => {
 			        resolve(res);
 			      },