From 5d8fdf86201fe36ba03c0ed30c4e806ec35936e3 Mon Sep 17 00:00:00 2001 From: yml2213 Date: Fri, 7 Aug 2026 22:52:49 +0800 Subject: [PATCH] =?UTF-8?q?fix(douyu):=20=E9=9A=94=E7=A6=BB=E5=90=84?= =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E5=8F=B0=E5=AF=BC=E5=85=A5=E8=B4=A6=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/frontend/src/App.tsx | 6 +++--- web/frontend/src/pages/DouyuTasksPage.tsx | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/web/frontend/src/App.tsx b/web/frontend/src/App.tsx index 9de8016..2036aec 100644 --- a/web/frontend/src/App.tsx +++ b/web/frontend/src/App.tsx @@ -73,9 +73,9 @@ function AppContent() { )} /> )} /> } /> - )} /> - )} /> - )} /> + )} /> + )} /> + )} /> )} /> )} /> )} /> diff --git a/web/frontend/src/pages/DouyuTasksPage.tsx b/web/frontend/src/pages/DouyuTasksPage.tsx index 08968c7..4c1a740 100644 --- a/web/frontend/src/pages/DouyuTasksPage.tsx +++ b/web/frontend/src/pages/DouyuTasksPage.tsx @@ -137,7 +137,8 @@ const PEACE_TASK_TYPES = new Set([ const DOUYU_GOLD_AMOUNT_STORAGE_KEY = 'douyu_task_gold_amount'; const DOUYU_GIFT_COUNT_STORAGE_KEY = 'douyu_task_gift_count'; const DOUYU_LAYOUT_MODE_STORAGE_KEY = 'douyu_task_layout_mode'; -const DOUYU_WORKBENCH_IDS_STORAGE_KEY = (kind: HandbookKind) => `douyu_task_workbench_ids_${kind}`; +// v2 避开旧版页面切换时写入其他工作台的共享账号列表。 +const DOUYU_WORKBENCH_IDS_STORAGE_KEY = (kind: HandbookKind) => `douyu_task_workbench_ids_v2_${kind}`; const CONFIRM_FAIL_TIP_SECONDS = 6; function resultText(result: Record | null | undefined, key: string): string {