tree-select
tree-select copied to clipboard
React Tree Select
Allows custom rendering of the currently selected label, which can be used for value backfill but the corresponding option is missing and does not want to directly render the value....
Related issue [#53567](https://github.com/ant-design/ant-design/issues/53567) Before: 之前的计算逻辑是只判断当前节点的直接子节点是否disabled,然后计算其总数  导致计算出来的title为'1'对应的node未被正确的赋上disabled属性 https://github.com/user-attachments/assets/ddec87b5-fada-46bc-bf28-a267879b2451 After: 将未禁用状态下的非叶子节点的子节点也进行统计、计算 https://github.com/user-attachments/assets/bbffb63d-811c-48bd-8720-f5a7f05a4581 ## Summary by CodeRabbit - **优化** - 改进了多层级树结构下可勾选叶子节点的统计逻辑,提升了节点可用状态的准确性。 - 优化了示例中多选树选择组件的展示,简化了界面并调整了最大可选数量设置。