select-tree
时间: 2023-09-04 16:17:27 浏览: 112
select-tree是一个与ElementUI的el-select和el-tree结合在一起的组件。可以通过安装el-select-tree包来使用它,并且需要先安装element-ui。如果项目不使用element-ui,则需要单独引入一个element-ui包。在代码中,可以使用<el-form>标签来创建一个表单,使用<el-form-item>标签来添加菜单路径的选择树组件,通过prop属性来绑定表单数据,通过@getValue事件来获取选择树组件的值。在methods中的setTreeMenu方法中可以获取选择树组件的键和数据。<span class="em">1</span><span class="em">2</span>
#### 引用[.reference_title]
- *1* [el-select-tree:ElementUI的el-select与el-tree结合](https://download.csdn.net/download/weixin_42135773/18435535)[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_1"}}] [.reference_item style="max-width: 50%"]
- *2* [vue+elementui封装select-tree下拉树【单选|多选】模块](https://blog.csdn.net/u011877155/article/details/106647653)[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_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文