修改分片逻辑

This commit is contained in:
RenCheng 2025-03-04 19:45:31 +08:00
parent 46590b2af1
commit d832984763

View File

@ -285,7 +285,7 @@ export default {
if (res.result.exist) { // if (res.result.exist) { //
currentRow.percentage = 100 currentRow.percentage = 100
currentRow.uploadStatus = 2 currentRow.uploadStatus = 2
currentRow.result = res currentRow.result = res.result
} else { // } else { //
const formData = this.buildFileFormData(file.name, file.size, fileMD5Value, 0, 0, file, false,fileMD5Value) const formData = this.buildFileFormData(file.name, file.size, fileMD5Value, 0, 0, file, false,fileMD5Value)
const url = '/fileDataLink/uploadFile' const url = '/fileDataLink/uploadFile'