罗广辉
2025-06-19 4e3afce8658ce98c2c58d33e231e19c5649eb4db
1
2
3
4
export function formatPhoneNum (phoneNum: string | number) {
  const str = String(phoneNum)
  return str.substring(0, 3) + '****' + str.slice(-4)
}