master
parent
318d638bfb
commit
25c18b0378
|
@ -213,9 +213,10 @@
|
|||
})
|
||||
},
|
||||
// 手机加星号
|
||||
tel(tel) {
|
||||
tel(tel="0000000000") {
|
||||
const telNum = tel.toString();
|
||||
const reg = /^(\d{3})\d{4}(\d{4})$/;
|
||||
return tel.replace(reg, '$1****$2')
|
||||
return telNum.replace(reg, '$1****$2')
|
||||
},
|
||||
//用户中心信息
|
||||
checkInfo() {
|
||||
|
|
Loading…
Reference in New Issue