From 489e2c0c3e343336c2b64bd6cadcf5ce866b93f2 Mon Sep 17 00:00:00 2001 From: tbphp Date: Wed, 23 Jul 2025 17:55:02 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=BC=82=E6=AD=A5=E4=BB=BB=E5=8A=A1?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=89=8D=E7=AB=AF=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/components/GlobalTaskProgressBar.vue | 10 +++++++++ web/src/components/keys/GroupInfoCard.vue | 22 +++++++++++++++++++ web/src/components/keys/KeyTable.vue | 23 +++++++++++++++++++- web/src/utils/app-state.ts | 7 ++++++ 4 files changed, 61 insertions(+), 1 deletion(-) 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 @@