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