@@ -15,7 +15,7 @@ export function codeOperation(res) {
if(str1 == 'jp_team51_charge_id') {
if(str2 == 'A') {
- return '/pages/searchPile/stationAndPile/stationDetails?id=' + id
+ return '/pages/searchPile/stationAndPile/chargingPileDetails?id=' + id
}
if(str2 == 'B') {
return '/pages/user/finance/rechargeRes?id=' + id
@@ -150,7 +150,7 @@ export function getLocation() {
} else if (res.errMsg == 'getLocation:fail authorize no response') {
res="用户在小程序中未授权"
//mui.alert("用户在小程序中未授权");
- } else if (res.errMsg == 'getLocation:closed') {
+ } else if (res.errMsg == 'getLocation:gps closed') {
res="用户已取消定位"
//mui.alert("用户已取消定位");