收藏
回答

getphonenumber返回值时没有CouldId

框架类型 问题类型 API/组件名称 终端类型 微信版本 基础库版本
小程序 Bug getphonenumber 客户端 7.0.4 2.7.1

- 当前 Bug 的表现(可附上截图)

真机返回的信息:

"type":"getphonenumber","timeStamp":59072,"target":{"id":"","offsetLeft":0,"offsetTop":11,"dataset":{}},"currentTarget":{"id":"","offsetLeft":0,"offsetTop":11,"dataset":{}},"mark":{},"detail":{"errMsg":"getPhoneNumber:ok","encryptedData":"5l2n8ghPzn3OjXrBfYI7ogthSztnUFPjKkw3Icg2AmGTNXLyChgJ/TcvyENsix2yIet+hmNpS1CwVB2wLnr7zdGEkivN4ScTIS7TUr6eWaHnvissBTL95QJSR08Rw+kftgLQ3ECORzQY6DhhXzyTD2XxMBLX+33t4uew+Yt9qk6Zctl6+pZEA39YLfhYdoHtKAjYSaQ8K4xgbr5yzRP9Iw==","iv":"IYKhoigyaAiGZaW5Fy9a1w=="}}


- 预期表现

模拟器返回的信息:

{"type":"getphonenumber","timeStamp":4475,"target":{"id":"","offsetLeft":0,"offsetTop":13,"dataset":{}},"currentTarget":{"id":"","offsetLeft":0,"offsetTop":13,"dataset":{}},"detail":{"errMsg":"getPhoneNumber:ok","encryptedData":"lZhOwlCig8YoNFwbeeYBREVkbNOmkLsSwu3TproYIHxy3xvgXNcKypaWubVjcCq1h2apVb0NlRUPaKQb3uudW+/q2sjMJ0iNZKapmZ8xTeBznrJM1GJS/A5tZ61FLlf2uUWrzEEn3DdCyu9D8rD01O3Kj3R7zU45vyTvn7wkIvxo5kgy4nENal7e+RcfWXlmwDiBQD/SGB0gb7x6K7FY4w==","iv":"FvAOhjuZiZJBEbzrIABsjg==","cloudID":"22_cnd43_OHPYmTPdCXYmhlbXU3S55VygeJpjB6IFWybrKrCZTFVlr-zTts3VI"}}


- 复现路径


- 提供一个最简复现 Demo


回答关注问题邀请回答
收藏

1 个回答

登录 后发表内容