fix: 标准
Showing
1 changed file
with
7 additions
and
1 deletions
| ... | @@ -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 | } | ... | ... |
-
Please register or sign in to post a comment