dashboard
repositories
filestore
activity
search
login
刘苏义
/
ruoyi-api
forked from
ard/ruoyi-api
summary
commits
tree
docs
forks
compare
blame
|
history
|
raw
雷达历史查询按时间倒序
‘liusuyi’
2023-07-01
d4c8d8c629a08b392c185ff5fa34a6d4e46e1d4d
[~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
}