You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Table里的树能在展开时异步加载吗,没看到实例
找到了例子,但是没搞明白:
/**
* 如果是懒加载,请确认自己完成了以下几个步骤
* 1. 提前设置 children 值为 true;
* 2. 在 onTreeExpandChange 事件中处理异步数据;
* 3. 自定义展开图标渲染 lazyLoadingTreeIconRender
*/
在onTreeExpandChange (onExpandedTreeNodesChange)中通过api取出数据后,怎么处理?直接返回肯定不对。
是需要直接重新set树形数据还是像Tree那样resolve?
Beta Was this translation helpful? Give feedback.
All reactions