dashboard
repositories
filestore
activity
search
login
~husq
/
iot_drone_web
forked from
yskj/iot_drone_web
summary
commits
tree
docs
forks
compare
blame
|
history
|
raw
登录流程对接、项目列表组件封装
胡思旗
2023-08-29
b80ee8c883f279e843071e6b53ab9cddec3f88a0
[~husq/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)
}