Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update OAuth login popup for edge case (#168)
部分浏览器插件会在网页加载时,通过特定的 postMessage 判断页面是否已经可以通信。 当前写法,会在收到所有 postMessage 消息时,关闭当前登录弹框,表现为页面一加载就自动关闭了。目前将关闭弹框调用移至获取到密钥后。 另:直接写 `window.postMessage` 应该没有任何作用,所以移除 Co-authored-by: Shenghang Tsai <[email protected]>
- Loading branch information