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