dashboard
repositories
filestore
activity
search
login
drone
/
drone-web
无人机操作系统
summary
reflog
commits
tree
docs
forks
compare
blame
|
history
|
raw
前端跨域配置、项目列表、登录、登出等功能对接、项目列表样式修改
husq
2023-08-29
9cf06d77201f75b518133203614c989b7c9f39b2
[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)
}