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...
husq
2023-09-11
55cdf3d1a9d5374c7d0cd026c5a3c5c0768b02e7
[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)
}