dashboard
repositories
filestore
activity
search
login
yskj
/
iot_drone_web
无人机前端
summary
reflog
commits
tree
docs
forks
compare
blame
|
history
|
raw
Merge branch 'develop' of http://s16s652780.51mypc.cn:49896/r/yskj/iot_dron...
xieb
2023-09-13
3667807a7b7418efc090ee3fa6a6b734bc3080bf
[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)
}