el-input失焦事件
时间: 2023-10-07 19:13:35 浏览: 195
el-input失焦事件可以通过使用$refs获取el-input组件实例,并调用blur方法来触发。具体代码如下:this.$refs.elInput.$refs.input.blur()。这样就可以手动触发el-input的失焦事件了。<em>1</em><em>2</em><em>3</em>
#### 引用[.reference_title]
- *1* *2* [el-input-number 失去焦点blur事件,](https://blog.csdn.net/qq_52125118/article/details/130085867)[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]
- *3* [element ui 的输入框el-input输入一个字后失去焦点,需重新点击下才能继续输入内容](https://blog.csdn.net/lilyheart1/article/details/115676904)[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]
[ .reference_list ]
阅读全文