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

TreeNode 设置自定义 icon 后还显示默认的图标 #20090

Closed
baizn opened this issue Dec 5, 2019 · 0 comments · Fixed by #20102
Closed

TreeNode 设置自定义 icon 后还显示默认的图标 #20090

baizn opened this issue Dec 5, 2019 · 0 comments · Fixed by #20102
Assignees

Comments

@baizn
Copy link

@baizn baizn commented Dec 5, 2019

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

Reproduction link

https://codepen.io/baizn/pen/wvBaGbj?&editable=true&editors=001

Steps to reproduce

TreeNode已经定义了 icon 属性,但还是显示了默认的图标。

What is expected?

不显示默认到的图标,连线的地方是自定义的icon中的图标
image

What is actually happening?

显示的是默认到的图标
image

Environment Info
antd 3.26.0
React 0.16.x
System mac
Browser chorme最新
afc163 added a commit that referenced this issue Dec 5, 2019
afc163 added a commit that referenced this issue Dec 5, 2019
afc163 added a commit that referenced this issue Dec 5, 2019
@afc163 afc163 closed this in #20102 Dec 5, 2019
afc163 added a commit that referenced this issue Dec 5, 2019
close #20090
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.