https://developers.weixin.qq.com/doc/oplatform/Website_App/WeChat_Login/Wechat_Login.htmlhttps://developers.weixin.qq.com/doc/oplatform/Website_App/WeChat_Login/Wechat_Login.htmlhttps://developers.weixin.qq.com/doc/oplatform/Website_App/WeChat_Login/Wechat_Login.htmlhttps://developers.weixin.qq.com/doc/oplatform/Website_App/WeChat_Login/Wechat_Login.html
现象: 我们网页已接入微信授权登录网站,嵌入式微信登录框,并且开启了快速登录。 一直存在: 部分用户电脑 打开时正常显示 快捷登录按钮,部分用户电脑打开时 只有登录二维码,无法显示快捷登录按钮,且控制台-NetWork里有一条check-login的请求 显示跨域, console了报错:
Access to XhLHttpReguest atgrcomnect:1 https://localhost.weixin.gg.com:13013/api/check-login' from origin https://open, weixin.gg,com’has been blocked by CORs policy: The reguestclient is not a secure context and the resource is in moreprivate addressspacelocal