diff --git a/static/vue-app.js b/static/vue-app.js index 27e0e7e..fbd1ce0 100644 --- a/static/vue-app.js +++ b/static/vue-app.js @@ -862,6 +862,7 @@ const MoldInsightView = { }; const startPolling = async (taskId) => { + console.log('[Polling] 开始轮询任务:', taskId); state.polling = true; state.progress = 10; let pollCount = 0; @@ -873,6 +874,7 @@ const MoldInsightView = { const task = await apiRequest(`/api/status/${taskId}`, { method: 'POST' }); state.currentTask = task; + state.task = task; if (task.status === "completed") { state.polling = false;