peiguo vor 4 Jahren
Ursprung
Commit
0e7b420944
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  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));