手机号脱敏前三,后三
mobile = 19211663377
let newMobile = this.mobile.substring(0,3) + "****" + this.mobile.substring(8,11)
console.log( newMobile ) //192****377
mobile = 19211663377
let newMobile = this.mobile.substring(0,3) + "****" + this.mobile.substring(8,11)
console.log( newMobile ) //192****377
本文标题:手机号,银行卡,身份证脱敏
本文链接:https://www.haomeiwen.com/subject/zvywoctx.html
网友评论