dashboard
repositories
filestore
activity
search
login
drone
/
drone-web
无人机操作系统
summary
reflog
commits
tree
docs
forks
compare
blame
|
history
|
raw
Merge branch 'v1.5.0' What's new? 1. Add new model: DJI Matrices 350 RTK. 2...
sean.zhou
2023-05-18
763e39bd71d83a6501ebdebf0d53130797bd5d73
[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)
}