Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
gylove1994 opened this issue Mar 27, 2024 · 3 comments
Assignees

Comments

@gylove1994
Copy link

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)
Copy link

zorro-bot bot commented Mar 27, 2024

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) |

@gylove1994
Copy link
Author

相关工单:#7378

@gylove1994
Copy link
Author

Any progress?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants