el-tree-select change
时间: 2023-10-19 13:31:06 浏览: 105
通过引用中的内容,我们可以得知,在el-tree-select组件上添加key属性,使用唯一的key值来区分每个组件可以解决事件重复绑定的问题。这样即使el-select组件重新渲染,也不会出现事件重复调用的情况。因此,el-tree-select的change事件可以通过添加唯一的key属性来解决事件重复绑定的问题。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [element-ui组件中input等的change事件中传递自定义参数](https://download.csdn.net/download/weixin_38606294/13975651)[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* *3* [解决:循环使用tree-select、select组件,change事件触发多次](https://blog.csdn.net/qq_52065282/article/details/130684023)[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 ]
阅读全文