diff --git a/static/script.js b/static/script.js index bde5b95..7a41332 100644 --- a/static/script.js +++ b/static/script.js @@ -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 || '未知错误')); diff --git a/templates/snapshot.html b/templates/snapshot.html deleted file mode 100644 index 40a7f54..0000000 --- a/templates/snapshot.html +++ /dev/null @@ -1,467 +0,0 @@ - - - -
- - -查看历史分析结果的完整副本
-正在加载快照信息...
-