Content-Length: 203241 | pFad | http://github.com/wchbrad/vue-easy-tree/issues/46

06 支持 props.children 为函数吗? · Issue #46 · wchbrad/vue-easy-tree · GitHub
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

支持 props.children 为函数吗? #46

Open
MaJiaXuan opened this issue Mar 29, 2024 · 1 comment
Open

支持 props.children 为函数吗? #46

MaJiaXuan opened this issue Mar 29, 2024 · 1 comment
Labels
wontfix This will not be worked on

Comments

@MaJiaXuan
Copy link

支持 props.children 为函数吗?
在某些层级不想让其有下层级,想通过改变 props.children 实现,比如 props.children(data, node) 让开发者来判断是否有下层级?

@wchbrad
Copy link
Owner

wchbrad commented Sep 14, 2024

isLeaf可以用来判断是否具有下级节点(需要开启懒加载),支持传入函数

@wchbrad wchbrad added the wontfix This will not be worked on label Sep 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/wchbrad/vue-easy-tree/issues/46

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy