el-upload loading
时间: 2023-09-04 16:09:18 浏览: 201
el-upload组件可以显示一个loading状态,用来表示文件上传的进度。根据引用和引用的代码片段,el-upload的loading状态可以通过设置`:loading`属性来控制。当`:loading`为true时,上传按钮会显示为加载中状态,表示文件正在上传。在上传过程中,可以通过设置`:on-progress`属性来监听上传进度,并在页面上显示上传进度条。当文件上传完成后,`:loading`属性会自动设置为false,loading状态会消失。所以,el-upload的loading状态会在文件上传过程中显示,上传完成后自动消失。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [el-upload typescript 多文件上传添加loading progress](https://blog.csdn.net/qq_20686495/article/details/113517133)[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_1"}}] [.reference_item style="max-width: 50%"]
- *2* [el-upload上传组件在vue中的应用和踩坑](https://blog.csdn.net/m0_61387674/article/details/120652478)[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_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文