GuLiMmo
2024-03-07 a51171f691ec516929fbb29356ad9074d0439b6e
1
2
3
4
export function formatPhoneNum (phoneNum: string | number) {
  const str = String(phoneNum)
  return str.substring(0, 3) + '****' + str.slice(-4)
}