dashboard
repositories
filestore
activity
search
login
刘苏义
/
ruoyi-api
forked from
ard/ruoyi-api
summary
commits
tree
docs
forks
compare
blame
|
history
|
raw
空闲时间段为空,则返回全天
zhangjianrock@163.com
2024-04-13
79794fdb2213fb38732e838308066aa681a1f58f
[~liusuyi/ruoyi-api.git]
/
ruoyi-ui
/
node_modules
/
svg-baker-runtime
/
src
/
utils
/
object-to-attrs-string.js
1
2
3
4
5
6
7
8
9
10
/**
* @param {Object} attrs
* @return {string}
*/
export default function (attrs) {
return Object.keys(attrs).map((attr) => {
const value = attrs[attr].toString().replace(/"/g, '"');
return `${attr}="${value}"`;
}).join(' ');
}