el-upload失焦调用接口
时间: 2023-10-09 11:12:31 浏览: 86
根据引用内容提供的信息,el-upload组件在失焦时调用接口的具体方法是通过设置:auto-upload="true"来实现的。当auto-upload属性的值为true时,el-upload组件会在文件选择后自动上传文件,并调用指定的接口。所以,el-upload组件在失焦时会自动调用接口上传文件。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [el-upload上传:自定义上传(点击按钮调用接口)上传 一定要注意下面三个参数不要给错值了](https://blog.csdn.net/weixin_47282274/article/details/129022833)[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%"]
- *3* [element-ui 中使用upload多文件上传只请求一次接口](https://download.csdn.net/download/weixin_38694566/12939139)[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 ]
阅读全文