移动端样式优化,修复当下载文件太多时,下载注册扫描前端显示超时问题
This commit is contained in:
@@ -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}`);
|
||||
}
|
||||
|
||||
/**
|
||||
* 清理下载注册表
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user