7ffe2653 by lihua

fix: 标准

1 parent 4d04b483
...@@ -302,6 +302,9 @@ watch( ...@@ -302,6 +302,9 @@ watch(
302 ) 302 )
303 function parentGuidCheck (node, {checkedKeys}) { 303 function parentGuidCheck (node, {checkedKeys}) {
304 console.log('node', node) 304 console.log('node', node)
305 if (node.disabled) {
306 return;
307 }
305 // fieldsControlDisabled.value = false 308 // fieldsControlDisabled.value = false
306 treeCurrentNode.value = node 309 treeCurrentNode.value = node
307 // if (checkedKeys.length === 0) { 310 // if (checkedKeys.length === 0) {
...@@ -461,7 +464,10 @@ watch( ...@@ -461,7 +464,10 @@ watch(
461 return select; 464 return select;
462 } 465 }
463 if (select?.children?.length) { 466 if (select?.children?.length) {
464 return getNode(select.children); 467 let node = getNode(select.children);
468 if (node) {
469 return node;
470 }
465 } 471 }
466 } 472 }
467 } 473 }
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!