From 4231659559a2989d3dbf95e33f221d046a776d48 Mon Sep 17 00:00:00 2001 From: wangfukang <15630117759@163.com> Date: Thu, 18 Jul 2024 17:14:20 +0800 Subject: [PATCH] 11 --- utils/global.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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) }