From 4d710e058c253dbd19f30c345a1e6f97803a2e87 Mon Sep 17 00:00:00 2001 From: zhangdaiscott Date: Fri, 23 Feb 2024 09:57:25 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=9E=E7=BB=AD=E7=99=BB=E5=BD=95=E5=A4=B1?= =?UTF-8?q?=E8=B4=A5=EF=BC=8C=E5=AF=BC=E8=87=B4=E5=A4=B1=E8=B4=A5=E6=8F=90?= =?UTF-8?q?=E9=86=92=E7=B4=AF=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/hooks/system/useThirdLogin.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/hooks/system/useThirdLogin.ts b/src/hooks/system/useThirdLogin.ts index 97ec603..388a220 100644 --- a/src/hooks/system/useThirdLogin.ts +++ b/src/hooks/system/useThirdLogin.ts @@ -68,6 +68,9 @@ export function useThirdLogin() { } else { createMessage.warning('不识别的信息传递'); } + //update-begin---author:wangshuai---date:2024-02-20---for:【QQYUN-8156】连续登录失败,导致失败提醒累加--- + window.removeEventListener('message', unref(receiveMessage),false); + //update-end---author:wangshuai---date:2024-02-20---for:【QQYUN-8156】连续登录失败,导致失败提醒累加--- }; window.addEventListener('message', receiveMessage, false); }