feat: size改为form内
This commit is contained in:
@@ -461,6 +461,7 @@
|
||||
pdfPath: '',
|
||||
videoPath: '',
|
||||
videoDuration: 0,
|
||||
totalSize: 0,
|
||||
secureToken: ''
|
||||
})
|
||||
const hasValidEmail = computed(() => {
|
||||
@@ -981,7 +982,6 @@
|
||||
uploadId: chunkUploadState[type].uploadId,
|
||||
email: form.value.email,
|
||||
fileName: file.name,
|
||||
totalSize: file.size,
|
||||
secureToken: form.value.secureToken
|
||||
})
|
||||
} catch (error) {
|
||||
@@ -1064,6 +1064,7 @@
|
||||
uploadProgressVideo.value = 100
|
||||
isUploadingVideo.value = false
|
||||
form.value.videoPath = res.fileUrl
|
||||
form.value.totalSize = file.size
|
||||
}
|
||||
|
||||
option.onSuccess?.({ uploadId }, option.file)
|
||||
|
||||
Reference in New Issue
Block a user