修改分片组件传值规则

This commit is contained in:
RenCheng 2025-03-04 18:05:29 +08:00
parent 4cd1f21628
commit a36470bd91
2 changed files with 2 additions and 2 deletions

View File

@ -286,7 +286,7 @@ export default {
currentRow.uploadStatus = 2 currentRow.uploadStatus = 2
currentRow.result = res currentRow.result = res
} 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, 1, 1, file, false,fileMD5Value)
const url = '/fileDataLink/uploadFile' const url = '/fileDataLink/uploadFile'
try { try {
const res = await postAction(url, formData) const res = await postAction(url, formData)

View File

@ -301,7 +301,7 @@ export default {
currentRow.uploadStatus = 2 currentRow.uploadStatus = 2
currentRow.result = res currentRow.result = res
} 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, 1, 1, file, false,fileMD5Value)
const url = '/file/uoloadFile' const url = '/file/uoloadFile'
try { try {
const res = await postAction(url, formData) const res = await postAction(url, formData)