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

Tree component ,after clicking, the data format of the data source will change #5413

Closed
1 task
yemaozi999 opened this issue Mar 28, 2022 · 2 comments
Closed
1 task
Labels

Comments

@yemaozi999
Copy link

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

3.1.0-rc.3

Environment

node16

Reproduction link

Edit on CodeSandbox

Steps to reproduce

The default selection data of the tree under checkstrict is a one-dimensional array [1,2,3], but it becomes an object when clicked

What is expected?

The incoming data is one-dimensional, the dynamic data after clicking is one-dimensional, or the incoming object array after click is also object array

What is actually happening?

The default selection data of the tree under checkstrict is a one-dimensional array, but once clicked, it becomes a object array of checked: and halfchecked,When I first passed the object array, the whole tree couldn't be clicked,
and halfChecked is empty all the time

@tangjinzhou
Copy link
Member

重复 #5395

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants