From 2f16ae198adc5e1466466dc16717425245d6cdc5 Mon Sep 17 00:00:00 2001 From: cjw <792430652@qq.com> Date: Mon, 16 Feb 2026 17:32:39 +0800 Subject: [PATCH] deving --- static/script.js | 4 +- templates/snapshot.html | 467 ---------------------------------------- 2 files changed, 2 insertions(+), 469 deletions(-) delete mode 100644 templates/snapshot.html 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 @@ - - - -
- - -查看历史分析结果的完整副本
-正在加载快照信息...
-