dashboard
repositories
filestore
activity
search
login
刘苏义
/
ruoyi-api
forked from
ard/ruoyi-api
summary
commits
tree
docs
forks
compare
blame
|
history
|
raw
优化:通道同步任务 增加:根据用户统计未读总数
liusuyi
2024-07-23
811b14aa5cd2bd6d4313b43dc38ce87cd938f3b0
[~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
}