Compare commits

..

No commits in common. "53c80f1777e2af2ac0295e17617a4cfee171a06d" and "60dafdc9df3a39446edb1028f4a018eb474ab729" have entirely different histories.

1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ const ResultPage: React.FC = () => {
// 任务失败,停止轮询并设置错误
setError('任务执行失败');
return;
} else if (result.status === 'running' || result.status === 'pending' || result.status === 'pending_audit') {
} else if (result.status === 'running' || result.status === 'pending') {
// 任务仍在进行中,继续轮询
if (attempts < maxAttempts) {
timerRef.current = setTimeout(poll, 1000);