deving
This commit is contained in:
+2
-2
@@ -155,8 +155,8 @@ async function pollTaskStatus(taskId) {
|
||||
|
||||
if (task.status === 'completed') {
|
||||
loading.style.display = 'none';
|
||||
showResultsSection();
|
||||
displayAllResults(task);
|
||||
// 跳转到统一的分析结果页面
|
||||
window.location.href = `/result/${task.task_id}`;
|
||||
} else if (task.status === 'failed') {
|
||||
loading.style.display = 'none';
|
||||
showError('分析失败: ' + (task.error || '未知错误'));
|
||||
|
||||
Reference in New Issue
Block a user