通过button实现微信登录,获取用户信息没有了userInfo变量,求解?
发布于 6 年前 作者 odong 6827 次浏览 来自 问答

开发者工具上可以 ,手机上真机调试没有了,返回参数如上图。页面如下:

<button class=‘start’ open-type=“getUserInfo” bindgetuserinfo=“getUserInfo” >微信登录</button>

调试基础库:2.7.0

1 回复

微信版本是测试版本?具体是哪个版本?提供下能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)

回到顶部