chore: code format

This commit is contained in:
xiaojunnuo
2025-06-29 14:09:09 +08:00
parent 04422a4637
commit 4fcfd089d8
644 changed files with 10845 additions and 13184 deletions
@@ -1,5 +1,5 @@
export function eachTree(tree: any[], callback: (item: any) => void) {
tree.forEach((item) => {
tree.forEach(item => {
callback(item);
if (item.children) {
eachTree(item.children, callback);
@@ -19,5 +19,5 @@ export function treeMap(tree: any[], mapFunc: (item: any) => {}) {
export const treeUtils = {
eachTree,
treeMap
treeMap,
};