diff --git a/web/src/components/GlobalTaskProgressBar.vue b/web/src/components/GlobalTaskProgressBar.vue index d248a59..342f3cb 100644 --- a/web/src/components/GlobalTaskProgressBar.vue +++ b/web/src/components/GlobalTaskProgressBar.vue @@ -62,6 +62,16 @@ async function pollOnce() { localStorage.setItem("last_closed_task", task.finished_at || ""); }, }); + + // 触发分组数据刷新 + if (task.group_name && task.finished_at) { + appState.lastCompletedTask = { + groupName: task.group_name, + taskType: task.task_type, + finishedAt: task.finished_at, + }; + appState.groupDataRefreshTrigger++; + } } } return; diff --git a/web/src/components/keys/GroupInfoCard.vue b/web/src/components/keys/GroupInfoCard.vue index 7b2368f..227b689 100644 --- a/web/src/components/keys/GroupInfoCard.vue +++ b/web/src/components/keys/GroupInfoCard.vue @@ -1,6 +1,7 @@