From c62f52a0670a503b560c356932eec367538d2643 Mon Sep 17 00:00:00 2001 From: yml2213 Date: Sun, 2 Aug 2026 13:51:48 +0800 Subject: [PATCH] =?UTF-8?q?fix(douyu):=20=E7=BB=91=E5=AE=9A=E5=A4=B1?= =?UTF-8?q?=E8=B4=A5=E6=8F=90=E7=A4=BA=E4=BB=85=E5=BC=B9=E4=B8=80=E6=AC=A1?= =?UTF-8?q?,=E5=88=B7=E6=96=B0=E9=A1=B5=E9=9D=A2=E4=B8=8D=E5=86=8D?= =?UTF-8?q?=E9=87=8D=E5=A4=8D=E6=8F=90=E7=A4=BA=E5=8E=86=E5=8F=B2=E5=A4=B1?= =?UTF-8?q?=E8=B4=A5=E4=BB=BB=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/frontend/src/pages/DouyuTasksPage.tsx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/web/frontend/src/pages/DouyuTasksPage.tsx b/web/frontend/src/pages/DouyuTasksPage.tsx index c14a608..a5041e5 100644 --- a/web/frontend/src/pages/DouyuTasksPage.tsx +++ b/web/frontend/src/pages/DouyuTasksPage.tsx @@ -436,6 +436,14 @@ export default function DouyuTasksPage({ handbook }: { handbook: HandbookKind }) if (hasPaymentQrcode(task)) autoOpenedPayTaskIds.current.add(task.id); // 历史兑换成功任务不触发自动复制,避免页面加载时打扰 if (exchangeTaskSucceeded(task)) autoCopiedExchangeTaskIds.current.add(task.id); + // 历史确认绑定失败任务不重复弹提示(只提示一次) + if ( + task.task_type === 'confirm_bind' + && ['failed', 'error'].includes(task.status) + && (task.message || '').includes('待绑定游戏账号') + ) { + autoNotifiedConfirmFailedTaskIds.current.add(task.id); + } } autoOpenQrReady.current = true; autoOpenEsportsBindReady.current = true;