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

Table: Add treeChildrenProp Attribute #14947

Closed
wants to merge 1 commit into from
Closed

Conversation

panhezeng
Copy link
Contributor

因为有时候后端给的数据子节点属性名不是children,或者有些正常表格数据,因为正好有个数组节点叫children,就会被误渲染成tree table。

所有增加的自定义获取tree data的子节点数组属性名的功能。

类似tree组件的props属性,可以自定义children。

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

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

@element-bot
Copy link
Member

Deploy preview for element ready!

Built with commit 5b127ad

https://deploy-preview-14947--element.netlify.com

@ziyoung
Copy link
Contributor

ziyoung commented May 24, 2019

#15709

@ziyoung ziyoung closed this May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants