|
@@ -298,8 +298,10 @@
|
|
|
var endLngLat = [_self.stationDetail.station.longitude,_self.stationDetail.station.latitude];
|
|
|
_self.calculateDistance(startLngLat,endLngLat);
|
|
|
|
|
|
-
|
|
|
- console.log('当前位置' +JSON.stringify(data))
|
|
|
+ /*uni.showToast({
|
|
|
+ title:'getPoint'+JSON.stringify(res)
|
|
|
+ })*/
|
|
|
+ //console.log('当前位置' +JSON.stringify(data))
|
|
|
|
|
|
//this.latitude2 = latitude;
|
|
|
//this.longitude2 = longitude;
|
|
@@ -308,9 +310,9 @@
|
|
|
})*/
|
|
|
//this.message=JSON.stringify(res)
|
|
|
}).catch(error => {
|
|
|
- uni.showToast({
|
|
|
- title:JSON.stringify(error)
|
|
|
- })
|
|
|
+ /*uni.showToast({
|
|
|
+ title:'getPoint'+JSON.stringify(error)
|
|
|
+ })*/
|
|
|
})
|
|
|
},
|
|
|
calculateDistance(startLngLat,endLngLat){
|
|
@@ -371,7 +373,7 @@
|
|
|
|
|
|
}).catch(error => {
|
|
|
uni.showToast({
|
|
|
- title: error,
|
|
|
+ title: 'scanQRCode'+error,
|
|
|
icon: "none"
|
|
|
})
|
|
|
})
|