Skip to content

Commit

Permalink
连续登录失败,导致失败提醒累加
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangdaiscott committed Feb 23, 2024
1 parent bcb49c8 commit 4d710e0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/hooks/system/useThirdLogin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 4d710e0

Please sign in to comment.