GuLiMmo
2023-11-24 8a0906c143be1d2280708490d6eb01fbc4afa25f
1
2
3
4
export function formatPhoneNum (phoneNum: string | number) {
  const str = String(phoneNum)
  return str.substring(0, 3) + '****' + str.slice(-4)
}