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-10-12
45bb6c748c3734469e5e80648d9d48c7e83fc8a4
[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)
}