标签:turn replace color hone let phone ace string ring
/** * 手机号隐藏中间4位变成**** **/ export function phone(num) { num = "" + num; let tel1 =num.replace(num.substring(3,7), "****"); return tel1; }
标签:turn replace color hone let phone ace string ring
原文地址:https://www.cnblogs.com/mxyr/p/10768116.html