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