This commit is contained in:
2018-05-18 14:53:39 +08:00
parent a8693975ea
commit 8b4e517fca
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1270,7 +1270,7 @@ function getPosition(){
oriLng = p.coords.longitude;
oriLat = p.coords.latitude;
if(region.endWith("区")){
if(region.endWith("区") || region.endWith("市") ){
region = region.substring(0, region.length-1);
}
oriRegion = region;