![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
上传
王者之座
这个作者很懒,什么都没留下…
展开
-
el-upload与springboot使用
前端页面<template> <el-upload class="avatar-uploader" action="#" :show-file-list="false" :before-upload="beforeAvatarUpload" :http-request="uploadImg" > <i class="el-icon-plus avatar-uploader-icon imgbeforepad">原创 2021-07-09 09:40:10 · 1088 阅读 · 0 评论 -
实现文件打开新页面预览
要求通过地址获取文件流 但是我这边需要在header中带token 所以 直接访问window.open(url)地址报没有权限所以通过访问接口地址返回文件流通过流文件创建文件对象展示在新的窗口。 handlePreview (file) { const _this = this _this.$http({ url: _this.$http.adornUrl('file/' + file.url), method:.原创 2021-01-20 11:25:13 · 1098 阅读 · 0 评论 -
vue项目使用ueditor上传文件出现错误
后端出现这错误 ,测试过使用360限速后文件传输超过几十秒就会报错。Failed to parse multipart servlet request; nested exception is java.io.IOException: org.apache.tomcat.util.http.fileupload.FileUploadBase$IOFileUploadException: Pro...原创 2019-03-26 13:57:22 · 1072 阅读 · 0 评论