个人信息修改调整
This commit is contained in:
parent
9a57ab9aa3
commit
a7a0fa4b41
@ -183,7 +183,11 @@ export default {
|
||||
methods: {
|
||||
geTel(tel) {
|
||||
const reg = /^(\d{3})\d{4}(\d{4})$/;
|
||||
return tel.replace(reg, '$1****$2');
|
||||
if (tel) {
|
||||
return tel.replace(reg, '$1****$2');
|
||||
} else {
|
||||
return '';
|
||||
}
|
||||
},
|
||||
doShow() {
|
||||
this.visible = true;
|
||||
|
Loading…
Reference in New Issue
Block a user