DJIsean
2022-07-28 58df40ae0eb5a694125e6ecca152331ad05da1be
1
2
3
4
export function formatPhoneNum (phoneNum: string | number) {
  const str = String(phoneNum)
  return str.substring(0, 3) + '****' + str.slice(-4)
}