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
feat: expand prop showLeafIcon for showLine in Tree Component #25067
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
rc那边的pr:react-component/tree#344 |
这边调整了传过去的type,应该不需要rc那边的pr了。 |
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit d211d8a:
|
Codecov Report
@@ Coverage Diff @@
## feature #25067 +/- ##
===========================================
+ Coverage 98.81% 99.49% +0.67%
===========================================
Files 363 368 +5
Lines 7280 7283 +3
Branches 1967 2031 +64
===========================================
+ Hits 7194 7246 +52
+ Misses 86 37 -49
Continue to review full report at Codecov.
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
这个 demo 加个 Switch 看效果:https://preview-25067-ant-design.surge.sh/components/tree-cn/#components-tree-demo-line |
done~ |
可以按需给 rc-tree 增加你要的东西。 |
好的,我尝试一下~ |
This comment has been minimized.
This comment has been minimized.
ok,已经同步过来了。 |
/rebase |
@@ -37227,7 +37227,7 @@ exports[`ConfigProvider components TreeSelect configProvider componentSize middl | |||
style="display:flex;flex-direction:column" | |||
> | |||
<div | |||
class="config-select-tree-treenode config-select-tree-treenode-switcher-close config-select-tree-treenode-leaf-last" | |||
class="config-select-tree-treenode config-select-tree-treenode-switcher-close" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
不应该删这个。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
应该是跑snapshot更新的,是我这条分支上的rc-tree-select
没有更新到对应到版本。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
已经更新了~
snapshot 没改全。 |
|
嗯,正在更新 |
ci都过了~ |
抱歉,我merge的时候好像没有squash,导致commit信息没有正确显示,请问能撤销一下吗quq,抱歉第一次merge。。。 |
没有squash是多条,squash后是一条,不反着用错就行 |
抱歉~之后看了commit记录才意识到可能是merge的时候没处理好。 |
不撤销了,下次小心,除了大分支之间走普通 merge,其他都走 squash merge。 |
好的,抱歉抱歉,我的失误QuQ |
现在 feature 比 master 只多了这一个 PR 的 commit ,要不现在把 feature squash 到 master ,这样 master 的 commmit 信息是 正常的。 |
#25271 成功了。 |
吸取教训了😭😭😭 |
[中文版模板 / Chinese template]
🤔 This is a ...
🔗 Related issue link
closes #23261
💡 Background and solution
📝 Changelog
showLine
属性支持配置隐藏叶节点图标。☑️ Self Check before Merge
View rendered components/tree/demo/switcher-icon.md