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

feat(components): [tree-v2] add item-size attribute #11522

Merged
merged 5 commits into from
Feb 19, 2023
Merged

Conversation

btea
Copy link
Collaborator

@btea btea commented Feb 11, 2023

Please make sure these boxes are checked before submitting your PR, thank you!

  • Make sure you follow contributing guide English | (中文 | Español | Français).
  • Make sure you are merging your commits to dev branch.
  • Add some descriptions and refer to relative issues for your PR.

close #11501

@github-actions
Copy link

github-actions bot commented Feb 11, 2023

@github-actions github-actions bot added the CommitMessage::Qualified Qualified commit message label Feb 11, 2023
@github-actions
Copy link

github-actions bot commented Feb 11, 2023

🧪 Playground Preview: https://element-plus.run/?pr=11522
Please comment the example via this playground if needed.

packages/components/tree-v2/src/virtual-tree.ts Outdated Show resolved Hide resolved
packages/components/tree-v2/src/tree.vue Outdated Show resolved Hide resolved
@jw-foss
Copy link
Member

jw-foss commented Feb 12, 2023

@btea in addition to the comments above, do you think we can introduce a test case to cover this feature?

@btea
Copy link
Collaborator Author

btea commented Feb 12, 2023

@btea in addition to the comments above, do you think we can introduce a test case to cover this feature?

Yes, I will add a test case and example.

@btea
Copy link
Collaborator Author

btea commented Feb 17, 2023

@jw-foss Please review to see if there are other issues, if not I will merge it.

@btea btea merged commit 7914f10 into dev Feb 19, 2023
@btea btea deleted the feat/tree-v2-itemSize branch February 19, 2023 13:55
@element-bot element-bot mentioned this pull request Mar 3, 2023
3 tasks
loosheng pushed a commit to loosheng/element-plus that referenced this pull request Mar 26, 2023
* feat(components): [tree-v2] add item-size attribute

* fix: modify internal variable name

* fix: extract itemSize prop

* test: add test case

* test: update test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CommitMessage::Qualified Qualified commit message
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Component] [tree-v2] treeV2 属性itemSize 设置无效,期望可以自定义node的高度
3 participants