dashboard
repositories
filestore
activity
search
login
刘苏义
/
ruoyi-api
forked from
ard/ruoyi-api
summary
commits
tree
docs
forks
compare
blame
|
history
|
raw
修改上传头像由上传本地改成上传minio 增加用户登录时获取融云token保存到用户
liusuyi
2023-07-16
69cabccf54597a8ae1ca3981f179075bfc763278
[~liusuyi/ruoyi-api.git]
/
ruoyi-ui
/
node_modules
/
@vue
/
cli-service
/
lib
/
util
/
getPadLength.js
1
2
3
4
5
6
7
8
9
module.exports = function getPadLength (obj) {
let longest = 10
for (const name in obj) {
if (name.length + 1 > longest) {
longest = name.length + 1
}
}
return longest
}