求助!生产环境下,个别支付宝用户授权手机号出现不明黑色模态弹框。
如下图
- 发布:2023-12-16 15:31
- 更新:2023-12-19 15:08
- 阅读:178
DCloud_UNI_OttoJi - 日常回复 uni-app/x 问题,如果艾特我没看到,请主动私信
请补充更多代码信息,是小程序初始化有,还是点击授权登录后有?本地是否可以复现?问题在 ios 安卓平台有吗?
xinqianbobo (作者)
补充信息
- 发生于 支付宝粘程序【用户点击按钮主动获取手机号授权】、【用户主动点击按钮获取个人信息授权】
- 授权手机号使用@getAuthorize scope为phoneNumber, (后咨询支付宝客服,事件触发后,修改为my.getPhoneNumber)问题依旧存在
- 手机号授权按钮事件,监听@error后,获得日志如下
{"currentTarget":{"dataset":{"eventOpts":[["getAuthorize",[["getPhoneNumber",["$event"]]]],["error",[["handleAuthError",["$event"]]]]]},"id":"","offsetLeft":56,"offsetTop":343,"tagName":"button"},"detail":{"errorMessage":"未找到授权结果","type":"getAuthorize"},"target":{"dataset":{"eventOpts":[["getAuthorize",[["getPhoneNumber",["$event"]]]],["error",[["handleAuthError",["$event"]]]]]},"id":"","offsetLeft":56,"offsetTop":343,"tagName":"button","targetDataset":{"eventOpts":[["getAuthorize",[["getPhoneNumber",["$event"]]]],["error",[["handleAuthError",["$event"]]]]]},"errorMessage":"未找到授权结果","type":"getAuthorize"},"timeStamp":1702968929215,"type":"error","mark":{},"mp":{"currentTarget":{"dataset":{"eventOpts":[["getAuthorize",[["getPhoneNumber",["$event"]]]],["error",[["handleAuthError",["$event"]]]]]},"id":"","offsetLeft":56,"offsetTop":343,"tagName":"button"},"detail":{"errorMessage":"未找到授权结果","type":"getAuthorize"},"target":{"dataset":{"eventOpts":[["getAuthorize",[["getPhoneNumber",["$event"]]]],["error",[["handleAuthError",["$event"]]]]]},"id":"","offsetLeft":56,"offsetTop":343,"tagName":"button","targetDataset":{"eventOpts":[["getAuthorize",[["getPhoneNumber",["$event"]]]],["error",[["handleAuthError",["$event"]]]]]}},"timeStamp":1702968929215,"type":"error","mark":{}}}
感谢各位朋友了。如有遇到,还请共同探讨一下
xinqianbobo (作者)
多发于安卓机。ios极个别。
2023-12-19 15:05