文件上传接口保留path参数,方便覆盖文件

This commit is contained in:
谢华宁
2022-05-31 22:26:26 +08:00
parent 20411fa6b5
commit 250db847f6
7 changed files with 29 additions and 12 deletions

View File

@ -161,7 +161,7 @@ export default {
},
/** 处理上传的文件发生变化 */
handleFileChange(file, fileList) {
this.upload.data.path = file.name;
},
/** 处理文件上传中 */
handleFileUploadProgress(event, file, fileList) {