commit:修复前端bug

This commit is contained in:
Jerry
2022-02-03 10:29:33 +08:00
parent 0b80f0da4c
commit c7cc3f5354
262 changed files with 144281 additions and 3 deletions

View File

@@ -116,7 +116,7 @@ export function findTreeNodeObjectPath (treeRoot, id, idKey = 'id', childKey = '
}
export function findTreeNodePath (treeRoot, id, idKey = 'id', childKey = 'children') {
return (this.findTreeNodeObjectPath(treeRoot, id, idKey, childKey) || []).map(item => item[idKey]);
return (findTreeNodeObjectPath(treeRoot, id, idKey, childKey) || []).map(item => item[idKey]);
}
/**