收藏
回答

微信登录-开启快捷登录后不显示快捷登录框,控制台报错

框架类型 问题类型 API/组件名称 终端类型 微信版本 基础库版本
小程序 Bug 微信快速登录 工具 3.9.12.51 2.0.0

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


回答关注问题邀请回答
收藏
登录 后发表内容