houzhongjian
2025-06-18 923f49266b00bd05bf8a4037b29ecb706d1306ff
src/utils/tree.ts
@@ -376,6 +376,9 @@
  let str = ''
  function performAThoroughValidation(arr) {
    if (typeof arr === 'undefined' || !Array.isArray(arr) || arr.length === 0) {
      return false
    }
    for (const item of arr) {
      if (item.id === nodeId) {
        str += ` / ${item.name}`