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