Jelajahi Sumber

测试地图

peiguo 4 tahun lalu
induk
melakukan
0e7b420944
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  1. 1 0
      whepi-ui/templates/home/getLocation.js

+ 1 - 0
whepi-ui/templates/home/getLocation.js

@@ -13,6 +13,7 @@ function getLocation() {
   //return;
   wx.getLocation({
     type: 'wgs84',
+    altitude: "true",
     success: function (res) {
       // alert(JSON.stringify(res));