This commit is contained in:
cjw
2026-02-16 17:32:39 +08:00
parent 78e59eeced
commit 2f16ae198a
2 changed files with 2 additions and 469 deletions
+2 -2
View File
@@ -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 || '未知错误'));