浏览代码

获取经纬度参数更改

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);
 			      },