소스 검색

Signed-off-by: 1004749546@qq.com <1004749546@qq.com>
导航修改

1004749546@qq.com 4 년 전
부모
커밋
05d2b6fe9c
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      pages/store/storeDetail.vue

+ 2 - 2
pages/store/storeDetail.vue

@@ -173,8 +173,8 @@
 				uni.getLocation({
 				    type: 'gcj02', //返回可以用于uni.openLocation的经纬度
 				    success: function (res) {
-				        const latitude = res.latitude;
-				        const longitude = res.longitude;
+				        const latitude = data.lat;
+				        const longitude = data.lng;
 						uni.openLocation({
 							latitude: latitude,
 							longitude: longitude,