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-25
3e790728c7439d07b7cb28b7cdb1d29d7642db53
[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)
}