el-upload怎么接收
时间: 2023-09-01 17:06:58 浏览: 71
el-upload组件可以通过设置action属性来指定上传的地址。在引用中的示例代码中,action属性被设置为"#",表示上传地址为空,即没有指定具体的后台接口来处理上传的文件。而在引用中的示例代码中,action属性被设置为uploadParam.url,这个url是通过data()方法中的uploadParam对象的url属性来获取的,意味着上传的文件将会被发送到这个后台接口进行处理。所以,el-upload组件可以通过设置action属性来接收上传的文件。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [关于el-upload上传参数,后台接受对应参数的方法](https://blog.csdn.net/weixin_41753664/article/details/116673917)[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 style="max-width: 50%"]
- *2* [vue页面 el-upload 组件上传表格后端接收代码解析示例](https://blog.csdn.net/m0_47388171/article/details/128664325)[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 style="max-width: 50%"]
[ .reference_list ]
阅读全文