vue简单的文件上传及下载
1.上传代码
<el-upload :action="'/xxx'" :on-success="handleSuccess" :on-change="handleChangePic" accept=".xls,.xlsx">
<el-button size="small" type="primary">上传资料</el-button>
</el-upload>
methods: {
handleSuccess(res, fi
原创
2022-03-18 14:16:32 ·
726 阅读 ·
0 评论