el-upload上传excel表格accept使用
时间: 2023-10-27 16:27:08 浏览: 106
el-upload上传excel表格的accept属性用于限制用户选择文件时可接受的文件类型。在引用和引用中的代码示例中,accept属性被设置为".xls,.xlsx",表示只接受后缀名为.xls和.xlsx的文件。这样设置后,用户在选择文件时只能选择这两种类型的文件进行上传。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [使用element-ui的el-upload进行excel文件上传与下载](https://blog.csdn.net/WX_nbclass/article/details/127257984)[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: 33.333333333333336%"]
- *2* [使用el-upload上传excel文件并读取显示到el-table上](https://blog.csdn.net/weixin_43258184/article/details/121850027)[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: 33.333333333333336%"]
- *3* [elemetUi 组件--el-upload实现上传Excel文件的实例](https://download.csdn.net/download/weixin_38586942/12770492)[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: 33.333333333333336%"]
[ .reference_list ]
阅读全文