fix: 修复查看任务日志偶发性无法自动滚动底部的bug

This commit is contained in:
xiaojunnuo
2025-01-19 23:13:30 +08:00
parent c085bac5d8
commit 7e482f798c
3 changed files with 13 additions and 2 deletions

View File

@@ -126,6 +126,7 @@ instance.interceptors.response.use(null, async (error) => {
/* Wait and retry the request */
await new Promise((resolve) => { setTimeout(resolve, (retryAfter * 1000)); });
log(`Retrying request to URL ${config.url}`);
return instance(config);
}
}