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] 希望树节点可以控制异步加载load方法的触发时机 #2740

Open
04756 opened this issue Feb 1, 2024 · 2 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@04756
Copy link

04756 commented Feb 1, 2024

这个功能解决了什么问题

目前的Tree组件的异步加载,点击展开只会触发一次load方法,获取了一次数据后就不再触发了。
由于业务设计为每次节点展开实时拉取对应数据,希望Tree组件增加配置可以让每次点击触发加载事件。

你建议的方案是什么

建议Tree组件增加相关配置,可以让开发者通过参数决定load事件的触发时机

Copy link
Contributor

github-actions bot commented Feb 1, 2024

👋 @04756,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

Copy link
Contributor

github-actions bot commented Feb 1, 2024

♥️ 有劳 @shryzhang @lysongzi @Ruoleery @uyarn 尽快确认问题。
确认有效后将下一步计划和可能需要的时间回复给 @04756

@uyarn uyarn added the enhancement New feature or request label Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants