dengzedong
2025-02-13 22bcd65ab998e99095713a4be9f1a9122df033d9
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}`