el-upload action参数
时间: 2023-08-19 18:18:10 浏览: 96
el-upload组件中的action参数是用来指定上传文件的目标地址。在引用\[1\]中的代码示例中,action参数被设置为this.GLOBAL.serverSrc + "/uploadController/uploadImg",即上传文件的后台地址。当用户点击上传按钮时,el-upload组件会将选择的文件发送到该地址进行上传。
#### 引用[.reference_title]
- *1* *2* [关于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^v91^koosearch_v1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [el-upload的两种方式](https://blog.csdn.net/hjin_/article/details/125276933)[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^v91^koosearch_v1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文