|
|
|
@ -12,7 +12,6 @@ export function reg(params1, params2) { |
|
|
|
icon: "none" |
|
|
|
}) |
|
|
|
} else if (!ret.test(params1)) { |
|
|
|
console.log(params1) |
|
|
|
uni.showToast({ |
|
|
|
title: '手机号不正确', |
|
|
|
icon: "none" |
|
|
|
@ -52,7 +51,6 @@ export function maskShopName(str) { |
|
|
|
str = str.replace(reg, "$1***$2"); |
|
|
|
} |
|
|
|
} |
|
|
|
console.log('1111111111',str) |
|
|
|
return str; |
|
|
|
} |
|
|
|
//电话脱敏
|
|
|
|
@ -85,7 +83,6 @@ export function getArea(str) { |
|
|
|
area.province = str.substring(0, _city + 1) |
|
|
|
un_pro_str = str.substr(_city + 1); |
|
|
|
} |
|
|
|
console.log('去掉省以后的地址', un_pro_str) |
|
|
|
|
|
|
|
|
|
|
|
// 第二个区域(市)截取开始
|
|
|
|
|