dashboard
repositories
filestore
activity
search
login
刘苏义
/
ruoyi-api
forked from
ard/ruoyi-api
summary
commits
tree
docs
forks
compare
blame
|
history
|
raw
电磁锁模糊查询车牌号修改提交
zhangnaisong
2024-07-06
83bf06bcf24afdcd222ee14000924e66d02eb50c
[~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
}