潘志宝
2025-03-19 bd2dcd2e01c4e3dde38de00840dee4690f5a0831
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}`