fix: 优化压缩并上传文件逻辑
This commit is contained in:
parent
330238aead
commit
c7205539ad
|
@ -715,10 +715,12 @@ export default {
|
|||
this.$message.warn('File is Empty ')
|
||||
return
|
||||
}
|
||||
const zipedFiles = await zipFile(files, 'test.zip')
|
||||
console.log('zipedFileszipedFiles', zipedFiles)
|
||||
this.isUploadingZip = true
|
||||
|
||||
try {
|
||||
const zipedFiles = await zipFile(files, 'test.zip')
|
||||
console.log('zipedFileszipedFiles', zipedFiles)
|
||||
this.isUploadingZip = true
|
||||
|
||||
const { success, message } = await this.uploadZipFile(zipedFiles)
|
||||
if (success) {
|
||||
let result = []
|
||||
|
|
Loading…
Reference in New Issue
Block a user