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

support virtualized list for TreePicker and CheckTreePicker #380

Merged
merged 10 commits into from
Jan 24, 2019

Conversation

superman66
Copy link
Member

No description provided.

* @param {*} expandItemValues
* @param {*} parentKeys
*/
export function shouldShowNodeByExpanded(expandItemValues: any[] = [], parentKeys: any[] = []) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldShowNodeByExpanded 与 TreePicker 中的方法重复,可以通用放到全局的 utils 目录下。

@@ -60,6 +79,7 @@ type Props = {
placement?: Placement,
searchable?: boolean,
appearance: 'default' | 'subtle',
virtualized: boolean,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

在 typescript 定义中添加 virtualized

@simonguo simonguo merged commit 3ba9b54 into master Jan 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants