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