dashboard
repositories
filestore
activity
search
login
drone
/
drone-web
无人机操作系统
summary
reflog
commits
tree
docs
forks
compare
blame
|
history
|
raw
隐藏重复定时和连续执行
guoshilong
2023-10-18
53bcb7e5dffa071d2c6593f5db7f0b6e4e2f8dfe
[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)
}