From 86106001da4af05929f72936a78f1033029b35c7 Mon Sep 17 00:00:00 2001 From: liyizhouAI Date: Fri, 17 Apr 2026 13:03:23 +0800 Subject: [PATCH] feat: auto-trigger report generation after simulation completes Simulation completion detection now automatically triggers report generation after a 1.5s delay, eliminating the need for users to manually click the "generate report" button. --- frontend/src/components/Step3Simulation.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/frontend/src/components/Step3Simulation.vue b/frontend/src/components/Step3Simulation.vue index 5b0f968c..17733247 100644 --- a/frontend/src/components/Step3Simulation.vue +++ b/frontend/src/components/Step3Simulation.vue @@ -526,6 +526,11 @@ const fetchRunStatus = async () => { phase.value = 2 stopPolling() emit('update-status', 'completed') + + // 模拟完成后自动触发报告生成 + setTimeout(() => { + handleNextStep() + }, 1500) } } } catch (err) {