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

the filterTreeNode is not effective in <a-tree> component #5646

Closed
1 task
dylansss opened this issue May 25, 2022 · 3 comments
Closed
1 task

the filterTreeNode is not effective in <a-tree> component #5646

dylansss opened this issue May 25, 2022 · 3 comments
Labels

Comments

@dylansss
Copy link

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

3.2.2

Environment

macos vue3

Reproduction link

Edit on CodeSandbox

Steps to reproduce

传入filterTreeNode函数发现不生效

What is expected?

树节点根据filterTreeNode的结果正确展示隐藏

What is actually happening?

树节点没有隐藏


在源码components/vc-tree中唯一一次使用filterTreeNode是给树节点添加了一个‘filter-node’类名,不知道是不是我用法有误,现在只能先用样式实现隐藏

@tangjinzhou
Copy link
Member

image

仔细看文档,说的是高亮

@coffee377
Copy link

image

仔细看文档,说的是高亮

实际使用时,结果属性节点也并未高亮
image
image

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants