dashboard
repositories
filestore
activity
search
login
yskj
/
iot_drone_web
无人机前端
summary
reflog
commits
tree
docs
forks
compare
blame
|
history
|
raw
无人机控制区分
husq
2023-09-25
60bb69f4cfc33cd0224e856afc2b00f6bc80e4d4
[yskj/iot_drone_web.git]
/
src
/
utils
/
data-process.ts
1
2
3
4
export function formatPhoneNum (phoneNum: string | number) {
const str = String(phoneNum)
return str.substring(0, 3) + '****' + str.slice(-4)
}