dashboard
repositories
filestore
activity
search
login
drone
/
drone-web
无人机操作系统
summary
reflog
commits
tree
docs
forks
compare
blame
|
history
|
raw
项目-抽屉组件封装、天气阻飞设置页面搭建以及功能完善
husq
2023-09-01
f6bbabd538001e4c997b2d5474356dc345ff0ba5
[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)
}