diff --git a/utils/global.js b/utils/global.js index ab89f38..9221209 100644 --- a/utils/global.js +++ b/utils/global.js @@ -79,8 +79,7 @@ export function getArea(str) { } else if (_district != -1) { //有行政区 area.province = str.substring(0, _district + 3) un_pro_str = str.substr(_district + 3); - } else if (_city != -1) { //有市 - console.log("市",_city) + } else if (_city != -1) { //有市 area.province = str.substring(0, _city + 1) let deviceType uni.getSystemInfo({ @@ -94,7 +93,6 @@ export function getArea(str) { }else{ un_pro_str = str } - console.log("市例",un_pro_str) }