dashboard
repositories
filestore
activity
search
login
刘苏义
/
ruoyi-api
forked from
ard/ruoyi-api
summary
commits
tree
docs
forks
compare
blame
|
history
|
raw
打卡时间格式化"yyyy-MM-dd HH:mm:ss"
‘liusuyi’
2023-08-01
0be852043be57c9a0daba2e7d0e8aa531fdeedba
[~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
}