手机号,银行卡,身份证脱敏
2020-01-01 本文已影响0人
90后徐先生
手机号脱敏前三,后三
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