获得过 0 次赞
回答过的问题获得 0 次赞
分享过的文章/案例获得 0 次赞
评论与回复获得 0 次赞
- button回调bindgetuserinfo未能拉取授权,获取不到scope.userInfo?
button代码: wxml: <button class="bg-white" open-type="getUserInfo" bindgetuserinfo="bindGetUserInfo">授权登录</button> js: [图片] 输出结果如下: [图片] 获取用户授权代码如下: [图片] 输出结果如下: [图片]
2021-04-06 - 开发者工具无法读取getUserInfo得到的avatarUrl图片?
报错信息: Failed to load image https://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTIGCbm9E3lZWTN9OBW9OhSGZPDeYK2flaNLIYxXTUuDib6X9IcPqrjetDa5NcqMjsd3lE2OSia4vHOA/132 the server responded with a status of 404 (HTTP/1.1 404 Not Found) From server ::1 问题描述: 通过open-type:getUserInfo按钮获取用户信息,再使用image显示,在开发者工具中无法显示并报错,在开发配置中添加了request后,仍旧无效,但真机预览中可以显示
2020-09-17