treeselect默认选中节点
时间: 2023-09-15 09:18:04 浏览: 115
引用:在treeselect中,默认选中节点可以使用treeDefaultExpandedKeys属性来实现。 此属性可以设置要展开的节点的key值,只需将需要默认选中的节点的key值添加到treeDefaultExpandedKeys数组中即可。<span class="em">1</span><span class="em">2</span>
#### 引用[.reference_title]
- *1* [antd of vue ——TreeSelect 首次默认选择](https://blog.csdn.net/who_become_gods/article/details/118176590)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* [MiniUI 的知识积累](https://blog.csdn.net/ytangdigl/article/details/110204588)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文