uniapp写小程序时调用用户信息/手机号的坑
要实现一个这样的效果,获取用户信息,按照微信官网的定义login方法不可用了,要给button写open-type,但是在uniapp里实现这个效果却总是报错:
pages/index/detail/detail" does not have a method “onGotUserInfo” to handle event “getuserinfo”.
说我没有这个方法?但是我确实是写在meth...
原创
2019-11-23 10:39:10 ·
4876 阅读 ·
1 评论