el-tree-select 清楚
时间: 2023-08-17 17:07:09 浏览: 113
el-tree-selected-tree
根据引用中的说明,可以使用selectAttribute来传递el-select原生属性。其中,clearable属性可以用于控制el-tree-select是否显示清除按钮。当clearable属性设置为true时,el-tree-select会显示清除按钮,允许用户清除已选择的项。所以,如果你想要el-tree-select显示清除按钮,你可以在selectAttribute中设置clearable为true。<span class="em">1</span><span class="em">2</span>
#### 引用[.reference_title]
- *1* [el-tree与el-select结合,vue组件](https://blog.csdn.net/liutianxiao123/article/details/123729040)[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^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* [基于elementui的el-select、el-tree、el-popper和vue2自定义的ts-tree-select下拉树组件](https://blog.csdn.net/weixin_43971142/article/details/130770740)[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^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文