测试git机器人

This commit is contained in:
aixianling
2023-01-28 18:07:57 +08:00
parent 34e23beaeb
commit 5eeef42174

View File

@@ -48,7 +48,7 @@ const $arr2tree = (list, config = {}) => {
if (!!pid && ids.indexOf(pid) > -1) {
if (!itemMap[pid]) {
itemMap[pid] = {
children: [],
children: []
}
}
itemMap[pid].children.push(treeItem)
@@ -130,6 +130,7 @@ export const $copy = any => {
return JSON.parse(JSON.stringify(any))
} else return any
}
let debounceWait = null
export const $debounce = (fn, wait) => {
if (debounceWait !== null) clearTimeout(debounceWait);