登录授权无法换起弹框,陷入死循环

小程序 文章 2021-04-04 15:02 517 0 全屏看文

AI助手支持GPT4.0

登录授权无法换起弹框,陷入死循环Login authorization cannot be changed to the pop-up box, falling into an infinite loop

登录授权无法换起弹框,陷入死循环
框架类型 问题类型 API/组件名称 终端类型 微信版本 基础库版本
小程序 Bug button open-type="getUserInfo" 工具 所有 2.15.0

https://developers.weixin.qq.com/miniprogram/dev/component/button.html

open-type="getUserInfobindgetuserinfo="getUserInfo"

授权登录陷入死循环,无法唤起权限弹框

Framework type problem type API / component name terminal type wechat version basic library version applet bug button open type = "getUserInfo" tool all 2.15.0 https://developers.weixin.qq.com/miniprogram/dev/component/button.html Open type = "getUserInfo" bindetuserinfo = "getUserInfo" authorization login falls into a dead cycle, unable to call up the permission pop-up code fragment < button type = primary "open type = getUserInfo" bindetuserinfo = getUserInfo > authorized wechat user information < / button >

回答:

 :

请开发者使用 getUserProfile 进行登录获取用户信息

小火锅😋:

怎么注册

|G.XIAO|:拿用户头像用 getUserProfile


拿openId,用 wx.login 获得的 code 去服务器换取
|G.XIAO|:

周知:getUserInfo 开发版 & 体验版 已对齐 getUserInfo 匿名表现,正式版将于 4月13日 正式对齐 getUserInfo 匿名表现。请开发者使用 getUserProfile 获取用户信息。

小程序登录、用户信息相关接口调整说明:https://developers.weixin.qq.com/community/develop/doc/000cacfa20ce88df04cb468bc52801

拿用户头像用 getUserProfile

拿openId,用 wx.login 获得的 code 去服务器换取



-EOF-

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
小程序流量主收益太低,不到一块钱一天?
小程序是找别人做的,最近发现各方面数据都不对,有没有可能被人动了手脚?
request:fail url not in domain list就获取openid时候错 ?
请问公司小程序管理账号丢失,怎样才能换管理账号?
开发工具和真机css效果不匹配
随便看看
微信开放平台跟公众平台有什么区别? 3607
怎么添加小程序支付功能? 4516
教育科技公司申请微信支付被拒绝? 4798
微信公众号免300认证教程 5892
小程序已经上线,作为管理员无法在小程序数据助手查看数据? 5299
小程序广告组件通过审核,但是小程序内没有显示广告? 5067
企业微信通讯录账号被管理员误/恶意删除,怎么办? 9568
问题? 9047
如何快速搭建抽奖助手小程序(无需代码知识) 6177
许涛 大哥在吗, 要解冻小程序的时候提示信息主体不一致, 能帮忙看下吗? 7471