perf: 优化实现文件夹下载以及多文件压缩下载功能

This commit is contained in:
ganzizi 2023-11-16 17:12:12 +08:00
parent ed4afa63f0
commit c0a594655d

View File

@ -1479,6 +1479,8 @@ export default {
},
async downloadPackFile(filePackName) {
// 1
await new Promise(resolve => setTimeout(resolve, 1000));
const downloadUrl = $A.apiUrl(`file/download/confirm?name=${filePackName}&token=${this.userToken}`);
try {
const response = await axios({