手机型号:小米14
微信版本:8.0.56
uniapp版本:最新
代码:
<button class="u-button login-btn" open-type="getPhoneNumber" @getphonenumber="decryptPhoneNumber">立即登录</button>
场景:
1、打开授权面板迅速点击手机号或不允许,能正常收到回调
2、打开授权面板后超过3秒再点击手机号或不允许,授权面板关闭,没有收到回调,console面板有报错信息
报错信息如下:
MiniProgramError
Cannot read properties of undefined (reading 'errno')
TypeError: Cannot read properties of undefined (reading 'errno')
at Function.success (https://lib/WAServiceMainContext.js:1:1597373)
at <api openBusinessView success callback function>
at https://lib/WAServiceMainContext.js:1:154335
at $c (https://lib/WAServiceMainContext.js:1:718912)
at t.call.then.t._complete_hook.jc.name (https://lib/WAServiceMainContext.js:1:720503)
1 个回复
狂人小风
10多分钟前我也遇到这个问题了 微信开发工具上没问题,发布后就用不了,报这个错