zhengkaixin il y a 3 ans
Parent
commit
bdd722808c
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 1 1
      apis/index.js
  2. 1 1
      utils/wxJsApi.js

+ 1 - 1
apis/index.js

@@ -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

+ 1 - 1
utils/wxJsApi.js

@@ -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("用户已取消定位");
 					}