移动端样式优化,修复当下载文件太多时,下载注册扫描前端显示超时问题

This commit is contained in:
2025-10-07 17:25:22 +08:00
parent 3181a198fd
commit f9e732c1e3
8 changed files with 1193 additions and 153 deletions
+15 -1
View File
@@ -276,12 +276,26 @@ class DownloadService {
}
/**
* 重建下载注册表
* 重建下载注册表(异步任务)
*/
async rebuildRegistry() {
return apiService.post('/api/download/registry/rebuild');
}
/**
* 获取注册表重建任务状态
*/
async getRegistryRebuildStatus(taskId: string) {
return apiService.get(`/api/download/registry/rebuild/status/${taskId}`);
}
/**
* 取消注册表重建任务
*/
async cancelRegistryRebuild(taskId: string) {
return apiService.delete(`/api/download/registry/rebuild/${taskId}`);
}
/**
* 清理下载注册表
*/