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-08-30
ae2380cc0d430108e1122f6818e52bc4abc49d3a
[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)
}