NG-ZORRO/ng-zorro-antd

【nz-tree】在节点中的设置的checked值为true的节点不会被getCheckedNodeList()获取

Opened this issue · 3 comments

Reproduction link

https://stackblitz.com/edit/ng-zorro-antd-ivy-gjt6ey?file=src%2Fapp%2Fapp.component.ts

Steps to reproduce

1.传入包含checked值的节点
2.使用getCheckedNodeList()获取节点
获取异常

What is expected?

获得所有checked值为true的节点

What is actually happening?

空数组

Environment Info
ng-zorro-antd 17.3.0
Browser chrome 版本 123.0.6312.59(正式版本) (arm64)

Translation of this issue:

[NZ-TREE] The check value set in the node in the node is True node will not be obtained by GetcheckedNodelist ()

REPRODUCTION LINK

[https://stackBlitz.com/edit/ng-zorro-mtd- ivy-gjt6ey?file=src%2FApp.com ivy-gjt6ey? File = src%2FAPP%2FAPP.COMPONENTS)

STEPS To Reproduce

  1. Node passed in containing checked values
  2. Use GetcheckedNodelist () to get nodes
    Obtain abnormalities

What is exfected?

Obtain nodes with all Checked values ​​to true

What is actually happy?

Air array

| ENVIRONMENT | Info |
| --- | --- | |
| NG-Zorro-ATD | 17.3.0 |
| Browser | Chrome version 123.0.6312.59 (formal version) (ARM64) |

相关工单:#7378

Any progress?