dashboard
repositories
filestore
activity
search
login
drone
/
drone-web
无人机操作系统
summary
reflog
commits
tree
docs
forks
compare
blame
|
history
|
raw
Merge branch 'demo' of http://s16s652780.51mypc.cn:49896/r/yskj/iot_drone_w...
husq
2023-09-14
970ede7dd4c77893836d2721fe1bdfd18bfa1afc
[drone/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)
}