el-select选中触发事件
时间: 2023-10-06 09:06:17 浏览: 280
Vue: 多个el-select不能重复选择相同属性
当el-select选中时,可以使用@change事件来触发相应的事件。在提供的代码中,el-select组件的@change属性被绑定到了selectTrigger方法上,当选择其中一个el-option值后,会触发selectTrigger方法。所以,el-select选中后会触发selectTrigger方法。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [Web前端-vue element UI el-select选择框选择el-option触发事件](https://blog.csdn.net/MinggeQingchun/article/details/119799120)[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: 33.333333333333336%"]
- *2* [vue element UI el-select选择框触发事件(每选择一次则触发一次该事件)](https://blog.csdn.net/weixin_40841731/article/details/83348219)[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: 33.333333333333336%"]
- *3* [解决vue elementUI 使用el-select 时 change事件的触发问题](https://download.csdn.net/download/weixin_38635092/14648352)[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: 33.333333333333336%"]
[ .reference_list ]
阅读全文